summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'PRESUBMIT_test.py')
-rwxr-xr-xPRESUBMIT_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/PRESUBMIT_test.py b/PRESUBMIT_test.py
index 2d6e066..3bebc67 100755
--- a/PRESUBMIT_test.py
+++ b/PRESUBMIT_test.py
@@ -369,8 +369,8 @@ class BadExtensionsTest(unittest.TestCase):
'some/path/OWNERS',
'A\Windows\Path\OWNERS',
])
- results = PRESUBMIT.GetPreferredTrySlaves(None, mock_change)
- self.assertEqual(0, len(results))
+ results = PRESUBMIT.GetPreferredTryMasters(None, mock_change)
+ self.assertEqual({}, results)
class InvalidOSMacroNamesTest(unittest.TestCase):