Commit 00fc7285 authored by Mun Yong Jang's avatar Mun Yong Jang Committed by Commit Bot

[presubmit] Rename to CheckChangedLUCIConfigs

Bug: 785114
Change-Id: I53c3b4e54f39f4bacf8fb0bda1de4e4b0e1b280b
Reviewed-on: https://chromium-review.googlesource.com/771592Reviewed-by: 's avatarNodir Turakulov <nodir@chromium.org>
Commit-Queue: Mun Yong Jang <myjang@google.com>
parent acc8e3eb
......@@ -39,7 +39,12 @@ BLACKLIST_LINT_FILTERS = [
### Description checks
# TODO(myjang): Remove this once all presubmit scripts use the other
def CheckChangedConfigs(input_api, output_api):
return CheckChangedLUCIConfigs(input_api, output_api)
def CheckChangedLUCIConfigs(input_api, output_api):
import collections
import base64
import json
......
......@@ -1800,7 +1800,7 @@ class CannedChecksUnittest(PresubmitTestsBase):
'GetPythonUnitTests', 'GetPylint',
'GetUnitTests', 'GetUnitTestsInDirectory', 'GetUnitTestsRecursively',
'CheckCIPDManifest', 'CheckCIPDPackages',
'CheckChangedConfigs',
'CheckChangedLUCIConfigs', 'CheckChangedConfigs',
]
# If this test fails, you should add the relevant test.
self.compareMembers(presubmit_canned_checks, members)
......@@ -1963,7 +1963,7 @@ class CannedChecksUnittest(PresubmitTestsBase):
"TODO(foo): bar", None, "TODO: bar", None,
presubmit.OutputApi.PresubmitPromptWarning)
def testCannedCheckChangedConfigs(self):
def testCannedCheckChangedLUCIConfigs(self):
affected_file1 = self.mox.CreateMock(presubmit.GitAffectedFile)
affected_file1.LocalPath().AndReturn('foo.cfg')
affected_file1.NewContents().AndReturn(['test', 'foo'])
......@@ -2006,7 +2006,7 @@ class CannedChecksUnittest(PresubmitTestsBase):
self.mox.ReplayAll()
results = presubmit_canned_checks.CheckChangedConfigs(
results = presubmit_canned_checks.CheckChangedLUCIConfigs(
input_api, presubmit.OutputApi)
self.assertEquals(len(results), 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment