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

Unified Diff: appengine/findit/util_scripts/git_checkout/test/local_git_repository_test.py

Issue 2432203003: [Predator] Run predator. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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/util_scripts/git_checkout/test/local_git_repository_test.py
diff --git a/appengine/findit/util_scripts/git_checkout/test/local_git_repository_test.py b/appengine/findit/util_scripts/git_checkout/test/local_git_repository_test.py
index 383113cbce9757ac5f91e2b9908b812ac5362c56..c5c8c2f9cb25fd97cb5b7fc6fa9aef5018f4f1af 100644
--- a/appengine/findit/util_scripts/git_checkout/test/local_git_repository_test.py
+++ b/appengine/findit/util_scripts/git_checkout/test/local_git_repository_test.py
@@ -238,5 +238,5 @@ class LocalGitRepositoryTest(testing.AppengineTestCase):
output = script_util.GetCommandOutput('command')
self.assertEqual(output, 'command')
- output = script_util.GetCommandOutput('dummy')
- self.assertEqual(output, None)
+ self.assertRaisesRegexp(Exception, 'Error running command dummy: error',
+ script_util.GetCommandOutput, 'dummy')
« no previous file with comments | « appengine/findit/util_scripts/git_checkout/local_git_repository.py ('k') | appengine/findit/util_scripts/iterator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698