| Index: appengine/findit/lib/gitiles/test/repo_util_test.py
|
| diff --git a/appengine/findit/lib/gitiles/test/repo_util_test.py b/appengine/findit/lib/gitiles/test/repo_util_test.py
|
| index 1ebb9beb1ff0b4435cc030b89f88c48f05826428..a39a6b508a031e2583a604e6a3aeb8279f5f2bf4 100644
|
| --- a/appengine/findit/lib/gitiles/test/repo_util_test.py
|
| +++ b/appengine/findit/lib/gitiles/test/repo_util_test.py
|
| @@ -10,6 +10,7 @@ import textwrap
|
| import urllib2
|
|
|
| from lib.gitiles import repo_util
|
| +from lib.cache_decorator import LocalCacher
|
|
|
|
|
| class RepoUtilTest(testing.AppengineTestCase):
|
| @@ -141,7 +142,7 @@ class RepoUtilTest(testing.AppengineTestCase):
|
| self.command = command
|
|
|
| def communicate(self, *_):
|
| - return self.command, 'dummy'
|
| + return self.command, 'error'
|
|
|
| @property
|
| def returncode(self):
|
| @@ -154,6 +155,7 @@ class RepoUtilTest(testing.AppengineTestCase):
|
| return _MockProcess(command)
|
|
|
| self.mock(subprocess, 'Popen', _MockPopen)
|
| + self.mock(LocalCacher, 'Get', lambda *_: None)
|
| output = repo_util.GetCommandOutput('command')
|
| self.assertEqual(output, 'command')
|
|
|
|
|