Index: telemetry/telemetry/story/expectations_unittest.py |
diff --git a/telemetry/telemetry/story/expectations_unittest.py b/telemetry/telemetry/story/expectations_unittest.py |
index 00eec143cddefe40cc7a40a924829985e7f5c603..0963b5e4e607cd1bd412daacf33a955b657a627e 100644 |
--- a/telemetry/telemetry/story/expectations_unittest.py |
+++ b/telemetry/telemetry/story/expectations_unittest.py |
@@ -94,14 +94,15 @@ class StoryExpectationsTest(unittest.TestCase): |
def testCantDisableAfterInit(self): |
e = expectations.StoryExpectations() |
with self.assertRaises(AssertionError): |
- e.DisableBenchmark(['test'], 'test') |
+ e.PermanentlyDisableBenchmark(['test'], 'test') |
with self.assertRaises(AssertionError): |
e.DisableStory('story', ['platform'], 'reason') |
- def testDisableBenchmark(self): |
+ def testPermanentlyDisableBenchmark(self): |
class FooExpectations(expectations.StoryExpectations): |
def SetExpectations(self): |
- self.DisableBenchmark([expectations.ALL_WIN], 'crbug.com/123') |
+ self.PermanentlyDisableBenchmark( |
+ [expectations.ALL_WIN], 'crbug.com/123') |
e = FooExpectations() |
self.platform.SetOSName('win') |