| Index: telemetry/telemetry/internal/story_runner_unittest.py
|
| diff --git a/telemetry/telemetry/internal/story_runner_unittest.py b/telemetry/telemetry/internal/story_runner_unittest.py
|
| index ed8b4674b25868dcdca47f26c7a0c888e93a278f..4eaa55c7d9a27c83a0a23f93f9606e0aa62476f8 100644
|
| --- a/telemetry/telemetry/internal/story_runner_unittest.py
|
| +++ b/telemetry/telemetry/internal/story_runner_unittest.py
|
| @@ -43,6 +43,9 @@ class FakePlatform(object):
|
| def CanMonitorThermalThrottling(self):
|
| return False
|
|
|
| + def WaitForTemperature(self, _):
|
| + pass
|
| +
|
|
|
| class TestSharedState(story_module.SharedState):
|
|
|
| @@ -129,6 +132,7 @@ class MixedStateStorySet(story_module.StorySet):
|
| def allow_mixed_story_states(self):
|
| return True
|
|
|
| +
|
| def SetupStorySet(allow_multiple_story_states, story_state_list):
|
| if allow_multiple_story_states:
|
| story_set = MixedStateStorySet()
|
| @@ -139,6 +143,7 @@ def SetupStorySet(allow_multiple_story_states, story_state_list):
|
| name='story%d' % i))
|
| return story_set
|
|
|
| +
|
| def _GetOptionForUnittest():
|
| options = options_for_unittests.GetCopy()
|
| options.output_formats = ['none']
|
| @@ -166,7 +171,6 @@ class TestOnlyException(Exception):
|
|
|
|
|
| class FailureValueMatcher(object):
|
| -
|
| def __init__(self, expected_exception_message):
|
| self._expected_exception_message = expected_exception_message
|
|
|
| @@ -176,13 +180,11 @@ class FailureValueMatcher(object):
|
|
|
|
|
| class SkipValueMatcher(object):
|
| -
|
| def __eq__(self, other):
|
| return isinstance(other, skip.SkipValue)
|
|
|
|
|
| class StoryRunnerTest(unittest.TestCase):
|
| -
|
| def setUp(self):
|
| self.fake_stdout = StringIO.StringIO()
|
| self.actual_stdout = sys.stdout
|
|
|