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

Unified Diff: tools/telemetry/telemetry/user_story/user_story_set_unittest.py

Issue 951593003: Revert of Move base_dir to user_story_set, remove file_path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « tools/telemetry/telemetry/user_story/user_story_set.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/user_story/user_story_set_unittest.py
diff --git a/tools/telemetry/telemetry/user_story/user_story_set_unittest.py b/tools/telemetry/telemetry/user_story/user_story_set_unittest.py
index fd8b6b19b928fd220bc4138fcc802753ac7831f6..be7d10380f16e20ac85f1655c4f296910948f42c 100644
--- a/tools/telemetry/telemetry/user_story/user_story_set_unittest.py
+++ b/tools/telemetry/telemetry/user_story/user_story_set_unittest.py
@@ -2,7 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import inspect
import os
import unittest
@@ -13,11 +12,6 @@
class UserStorySetFoo(user_story_set.UserStorySet):
""" UserStorySetFoo is a user story created for testing purpose. """
pass
-
-
-class MockUserStorySet(user_story_set.UserStorySet):
- def __init__(self):
- super(MockUserStorySet, self).__init__()
class UserStorySetTest(unittest.TestCase):
@@ -35,11 +29,6 @@
base_dir = uss.base_dir
self.assertTrue(os.path.isdir(base_dir))
self.assertEqual(base_dir, os.path.dirname(__file__))
-
- def testFilePath(self):
- uss = MockUserStorySet()
- self.assertEqual(os.path.abspath(__file__),
- uss.file_path)
def testCloudBucket(self):
blank_uss = user_story_set.UserStorySet()
« no previous file with comments | « tools/telemetry/telemetry/user_story/user_story_set.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698