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

Unified Diff: tests/project_test.py

Issue 13560013: Fix errors in async_push.py and test code. (Closed) Base URL: https://git.chromium.org/chromium/tools/commit-queue.git@master
Patch Set: Created 7 years, 8 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
« no previous file with comments | « async_push.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/project_test.py
diff --git a/tests/project_test.py b/tests/project_test.py
index 6878429a1bbbb786041518a37b8f4fa8a6e82fdb..1c9a2a57f2b1fd000031ea7eeea7571be44f6508 100755
--- a/tests/project_test.py
+++ b/tests/project_test.py
@@ -50,6 +50,9 @@ class TestCase(mocks.TestCase):
super(TestCase, self).setUp()
self.mock(projects.creds, 'Credentials', CredentialsMock)
self.mock(projects, '_read_lines', self._read_lines)
+ self.mock(
+ projects.async_push,
+ 'AsyncPush', lambda _1, _2: mocks.AsyncPushMock(self))
class Dummy(object):
@staticmethod
def get_list():
« no previous file with comments | « async_push.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698