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

Unified Diff: appengine/findit/common/test/dependency_test.py

Issue 1950123003: [Findit] Fetch DEPS from buildspec/ instead of trunk for chrome official builds. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Update doc string. Created 4 years, 7 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
Index: appengine/findit/common/test/dependency_test.py
diff --git a/appengine/findit/common/test/dependency_test.py b/appengine/findit/common/test/dependency_test.py
index c879f52b95910c2148d3d6689ef55c37c75f032d..97e1c63e26729ff8959daf7e7a6e21687621e579 100644
--- a/appengine/findit/common/test/dependency_test.py
+++ b/appengine/findit/common/test/dependency_test.py
@@ -45,6 +45,14 @@ class DependencyTest(unittest.TestCase):
sub_dep.SetParent(root_dep)
self.assertEqual(expected_dep_tree_dict, root_dep.ToDict())
+ def testDependencyForChromeVersion(self):
+ dep = Dependency(
+ 'a/b/', 'https://cr.googlesource.com/cr/b.git', '12b', 'DEPS',
+ deps_repo_url='https://chrome-internal', deps_repo_revision='master')
+
+ self.assertEqual(dep.deps_repo_url, 'https://chrome-internal')
+ self.assertEqual(dep.deps_repo_revision, 'master')
+
class DependencyRollTest(unittest.TestCase):
def testToDict(self):
« no previous file with comments | « appengine/findit/common/test/chromium_deps_test.py ('k') | appengine/findit/common/test/deps_parser_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698