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

Unified Diff: tools-webrtc/autoroller/unittests/roll_deps_test.py

Issue 2581493003: Move tools/autoroller to tools-webrtc/ + rename script (Closed)
Patch Set: Renamed the script Created 4 years 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-webrtc/autoroller/roll_deps.py ('k') | tools-webrtc/autoroller/unittests/testdata/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'
« no previous file with comments | « tools-webrtc/autoroller/roll_deps.py ('k') | tools-webrtc/autoroller/unittests/testdata/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698