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

Unified Diff: appengine/findit/util_scripts/test/script_util_test.py

Issue 2456603003: [Predator] Add local cache for get command output. (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
« no previous file with comments | « appengine/findit/util_scripts/test/local_cache_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/util_scripts/test/script_util_test.py
diff --git a/appengine/findit/util_scripts/test/script_util_test.py b/appengine/findit/util_scripts/test/script_util_test.py
index 9237e24ae944e1cf7e8ce0e2a4df6151abf12c10..3fa7cf5bdb0dd9111640469d25071adb8a3e54fd 100644
--- a/appengine/findit/util_scripts/test/script_util_test.py
+++ b/appengine/findit/util_scripts/test/script_util_test.py
@@ -10,13 +10,14 @@ from testing_utils import testing
class ScriptUtilTest(testing.AppengineTestCase):
+ # TODO(katesonia): Figure out a good way to work around cache.
def testGetLocalGitCommandOutput(self):
class _MockProcess(object):
def __init__(self, command, *_):
self.command = command
def communicate(self, *_):
- return self.command, 'dummy'
+ return self.command, 'error'
@property
def returncode(self):
« no previous file with comments | « appengine/findit/util_scripts/test/local_cache_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698