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

Unified Diff: client/tests/run_isolated_test.py

Issue 1342673003: Significant refactoring of run_isolated. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 5 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
« no previous file with comments | « client/run_isolated.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/run_isolated_test.py
diff --git a/client/tests/run_isolated_test.py b/client/tests/run_isolated_test.py
index 345667d72dab1b3d0af13995c0444f4603ff92fd..6238da73eb463e3bd2893ea9b7be0d80c59d1ee7 100755
--- a/client/tests/run_isolated_test.py
+++ b/client/tests/run_isolated_test.py
@@ -448,9 +448,14 @@ class RunIsolatedJsonTest(RunIsolatedTestBase):
self.assertNotIn('ISOLATED_OUTDIR', sub_cmd[2])
self.assertEqual([(sub_cmd, {'detached': True})], self.popen_calls)
expected = {
- u'isolated': u'e0a0fffa0910dd09e7ef4c89496116f60317e6c4',
- u'isolatedserver': u'http://localhost:1',
- u'namespace': u'default-gzip',
+ u'exit_code': 0,
+ u'internal_failure': None,
+ u'outputs_ref': {
+ u'isolated': u'e0a0fffa0910dd09e7ef4c89496116f60317e6c4',
+ u'isolatedserver': u'http://localhost:1',
+ u'namespace': u'default-gzip',
+ },
+ u'version': 1,
}
self.assertEqual(expected, tools.read_json(out))
« no previous file with comments | « client/run_isolated.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698