Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: telemetry/telemetry/story/story_set_unittest.py

Issue 1858713002: Fail run_benchmark if archive_data_file is specified and not found (Closed) Base URL: https://github.com/catapult-project/catapult@master
Patch Set: Try base path Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « telemetry/telemetry/story/story_set.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/story/story_set_unittest.py
diff --git a/telemetry/telemetry/story/story_set_unittest.py b/telemetry/telemetry/story/story_set_unittest.py
index 63e6247843ce55d4877d04006ad3ae101926e3ae..1bc9cc2252e603a69b5fde2400c8db7bf2fbd3cf 100644
--- a/telemetry/telemetry/story/story_set_unittest.py
+++ b/telemetry/telemetry/story/story_set_unittest.py
@@ -34,6 +34,10 @@ class StorySetTest(unittest.TestCase):
' StorySetFoo is a story set created for testing purpose. ',
StorySetFoo.Description())
+ def testMissingArchiveDataFile(self):
+ with self.assertRaises(IOError):
+ story.StorySet(archive_data_file='non_existant_file')
+
def testBaseDir(self):
story_set = StorySetFoo()
base_dir = story_set.base_dir
« no previous file with comments | « telemetry/telemetry/story/story_set.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698