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

Unified Diff: tests/isolateserver_test.py

Issue 24578004: Client side implementation of new /content-gs isolate protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: Created 7 years, 3 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
Index: tests/isolateserver_test.py
diff --git a/tests/isolateserver_test.py b/tests/isolateserver_test.py
index 908c4b137d73fe476f66f70b14343de39a197df4..5245179592c1ef0245b7ef3d34050079663a7c06 100755
--- a/tests/isolateserver_test.py
+++ b/tests/isolateserver_test.py
@@ -114,6 +114,7 @@ class IsolateServerArchiveTest(TestCase):
def setUp(self):
super(IsolateServerArchiveTest, self).setUp()
self.mock(isolateserver, 'randomness', lambda: 'not_really_random')
+ self.mock(isolateserver, 'ENABLE_GS_ISOLATE_API', False)
self.mock(sys, 'stdout', StringIO.StringIO())
def test_present(self):
@@ -298,6 +299,10 @@ class IsolateServerArchiveTest(TestCase):
class IsolateServerDownloadTest(TestCase):
tempdir = None
+ def setUp(self):
+ super(IsolateServerDownloadTest, self).setUp()
+ self.mock(isolateserver, 'ENABLE_GS_ISOLATE_API', False)
+
def tearDown(self):
try:
if self.tempdir:

Powered by Google App Engine
This is Rietveld 408576698