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

Unified Diff: tests/swarm_trigger_step_test.py

Issue 23431002: [Abandoned] Move url_open with dependencies to utils.net module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: Created 7 years, 4 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 | « tests/swarm_get_results_test.py ('k') | tests/url_open_timeout_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/swarm_trigger_step_test.py
diff --git a/tests/swarm_trigger_step_test.py b/tests/swarm_trigger_step_test.py
index 43ae08051665fe66bd0c9e8fd346aae2a9b73a9c..28c2058b982a99cb133a2e67d404b37e8a4b7ad5 100755
--- a/tests/swarm_trigger_step_test.py
+++ b/tests/swarm_trigger_step_test.py
@@ -190,7 +190,7 @@ class ManifestTest(auto_stub.TestCase):
self.assertEqual(expected, manifest_json)
def test_process_manifest_success(self):
- self.mock(swarm_trigger_step.run_isolated, 'url_open', MockUrlOpenNoZip)
+ self.mock(swarm_trigger_step.net, 'url_open', MockUrlOpenNoZip)
result = swarm_trigger_step.process_manifest(
file_sha1=FILE_HASH,
@@ -213,7 +213,7 @@ class ManifestTest(auto_stub.TestCase):
self.mock(sys, 'stdout', StringIO.StringIO())
def test_process_manifest_success_zip_already_uploaded(self):
- self.mock(swarm_trigger_step.run_isolated, 'url_open', MockUrlOpenHasZip)
+ self.mock(swarm_trigger_step.net, 'url_open', MockUrlOpenHasZip)
result = swarm_trigger_step.process_manifest(
file_sha1=FILE_HASH,
« no previous file with comments | « tests/swarm_get_results_test.py ('k') | tests/url_open_timeout_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698