Index: tools-webrtc/autoroller/unittests/roll_deps_test.py |
diff --git a/tools/autoroller/unittests/roll_chromium_revision_test.py b/tools-webrtc/autoroller/unittests/roll_deps_test.py |
similarity index 93% |
rename from tools/autoroller/unittests/roll_chromium_revision_test.py |
rename to tools-webrtc/autoroller/unittests/roll_deps_test.py |
index d7b3e26bde5af36022f46f77f8e1ded3e5080076..20772d9d7fa29cbaf069bc370cbfc9e61a047550 100755 |
--- a/tools/autoroller/unittests/roll_chromium_revision_test.py |
+++ b/tools-webrtc/autoroller/unittests/roll_deps_test.py |
@@ -18,10 +18,9 @@ import unittest |
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) |
PARENT_DIR = os.path.join(SCRIPT_DIR, os.pardir) |
sys.path.append(PARENT_DIR) |
-import roll_chromium_revision |
-from roll_chromium_revision import CalculateChangedDepsProper, \ |
- GetMatchingDepsEntries, ParseDepsDict, \ |
- ParseLocalDepsFile, UpdateDepsFile |
+import roll_deps |
+from roll_deps import CalculateChangedDepsProper, GetMatchingDepsEntries, \ |
+ ParseDepsDict, ParseLocalDepsFile, UpdateDepsFile |
TEST_DATA_VARS = { |
@@ -75,13 +74,13 @@ class TestRollChromiumRevision(unittest.TestCase): |
self._new_cr_depsfile = os.path.join(self._output_dir, 'DEPS.chromium.new') |
self.fake = FakeCmd() |
- self.old_RunCommand = getattr(roll_chromium_revision, '_RunCommand') |
- setattr(roll_chromium_revision, '_RunCommand', self.fake) |
+ self.old_RunCommand = getattr(roll_deps, '_RunCommand') |
+ setattr(roll_deps, '_RunCommand', self.fake) |
def tearDown(self): |
shutil.rmtree(self._output_dir, ignore_errors=True) |
self.assertEqual(self.fake.expectations, []) |
- setattr(roll_chromium_revision, '_RunCommand', self.old_RunCommand) |
+ setattr(roll_deps, '_RunCommand', self.old_RunCommand) |
def testUpdateDepsFile(self): |
new_rev = 'aaaaabbbbbcccccdddddeeeeefffff0000011111' |