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