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

Unified Diff: unittests/test_test.py

Issue 2779683005: [package.proto] convert deps from list to map. (Closed)
Patch Set: fixit Created 3 years, 9 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 | « unittests/repo_test_util.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: unittests/test_test.py
diff --git a/unittests/test_test.py b/unittests/test_test.py
index 5a9803225347b4af7cb5715cf6d3c748a209803f..321ebbed5513c22392eb7f4f287972e468e504db 100755
--- a/unittests/test_test.py
+++ b/unittests/test_test.py
@@ -215,11 +215,9 @@ class TestTest(unittest.TestCase):
api_version=1,
project_id='test_pkg',
recipes_path='',
- deps=[
- package_pb2.DepSpec(
- project_id='recipe_engine',
- url='file://'+ROOT_DIR),
- ],
+ deps={
+ 'recipe_engine': package_pb2.DepSpec(url='file://'+ROOT_DIR),
+ }
)
package.ProtoFile(self._recipes_cfg).write(test_pkg)
« no previous file with comments | « unittests/repo_test_util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698