Index: tests/gcl_unittest.py |
=================================================================== |
--- tests/gcl_unittest.py (revision 54392) |
+++ tests/gcl_unittest.py (working copy) |
@@ -211,6 +211,9 @@ |
"2")) |
gcl.SendToRietveld("/lint/issue%s_%s" % ('1', '2'), timeout=0.5) |
gcl.os.chdir('somewhere') |
+ gcl.sys.stdout.write("*** Upload does not submit a try; use gcl try to" |
+ " submit a try. ***") |
+ gcl.sys.stdout.write("\n") |
change_info.Save() |
gcl.GetRepositoryRoot().AndReturn(self.fake_root_dir) |
gcl.ChangeInfo.Load('naame', self.fake_root_dir, True, True |
@@ -241,6 +244,9 @@ |
gcl.os.remove('descfile') |
gcl.SendToRietveld("/lint/issue%s_%s" % ('1', '2'), timeout=0.5) |
gcl.os.chdir('somewhere') |
+ gcl.sys.stdout.write("*** Upload does not submit a try; use gcl try to" |
+ " submit a try. ***") |
+ gcl.sys.stdout.write("\n") |
gcl.GetRepositoryRoot().AndReturn(self.fake_root_dir) |
gcl.ChangeInfo.Load('naame', self.fake_root_dir, True, True |
).AndReturn(change_info) |
@@ -270,6 +276,9 @@ |
gcl.os.remove('descfile') |
gcl.SendToRietveld("/lint/issue%s_%s" % ('1', '2'), timeout=0.5) |
gcl.os.chdir('somewhere') |
+ gcl.sys.stdout.write("*** Upload does not submit a try; use gcl try to" |
+ " submit a try. ***") |
+ gcl.sys.stdout.write("\n") |
gcl.GetRepositoryRoot().AndReturn(self.fake_root_dir) |
gcl.ChangeInfo.Load('naame', self.fake_root_dir, True, True |
).AndReturn(change_info) |