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

Unified Diff: tests/bot_update_test.py

Issue 642253002: Don't run deps2git if the repo doesn't have a .DEPS.git. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 6 years, 2 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
« scripts/slave/bot_update.py ('K') | « scripts/slave/bot_update.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/bot_update_test.py
diff --git a/tests/bot_update_test.py b/tests/bot_update_test.py
index a8616cd91ef1a53b222379946bd19a2b6681547b..c303f940e84d37f7ee7f42694d762226246c98c9 100755
--- a/tests/bot_update_test.py
+++ b/tests/bot_update_test.py
@@ -495,7 +495,6 @@ class BotUpdateTest(unittest.TestCase):
}
gclient_spec = 'solutions=[%r]' % solution
self.bu_args.extend([
- '--post-flag-day',
'--specs', gclient_spec,
'--revision', self.template_dict['top_revision_0']])
result = self.run_bot_update()
@@ -513,7 +512,7 @@ class BotUpdateTest(unittest.TestCase):
self.assertItemsEqual(expected_files, self.get_files(topdir))
expected_json = {
'root': 'top',
- 'properties': {},
+ 'properties': {'got_revision': self.template_dict['top_revision_0']},
Michael Achenbach 2014/10/10 07:31:39 Can't say much about this...
'did_run': True,
'patch_root': None
}
@@ -552,7 +551,7 @@ class BotUpdateTest(unittest.TestCase):
self.assertItemsEqual(expected_files, self.get_files(topdir))
expected_json = {
'root': 'top',
- 'properties': {},
+ 'properties': {'got_revision': self.template_dict['top_revision_1']},
'did_run': True,
'patch_root': None
}
@@ -615,7 +614,7 @@ class BotUpdateTest(unittest.TestCase):
self.assertItemsEqual(expected_files, self.get_files(topdir))
expected_json = {
'root': 'top',
- 'properties': {},
+ 'properties': {'got_revision': self.template_dict['top_revision_1']},
'did_run': True,
'patch_root': 'top'
}
« scripts/slave/bot_update.py ('K') | « scripts/slave/bot_update.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698