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

Unified Diff: client/tests/swarming_test.py

Issue 2636993002: swarming: Fix named cache support. (Closed)
Patch Set: Fix swarming_test.py Created 3 years, 11 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/swarming.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/swarming_test.py
diff --git a/client/tests/swarming_test.py b/client/tests/swarming_test.py
index bd1b1988b878835a58e98deb026e2eae6e54f41b..fed66dcebc07f9abfa098b65d30c34887714f341 100755
--- a/client/tests/swarming_test.py
+++ b/client/tests/swarming_test.py
@@ -90,6 +90,7 @@ def gen_request_data(properties=None, **kwargs):
'parent_task_id': '',
'priority': 101,
'properties': {
+ 'caches': [],
'cipd_input': None,
'command': None,
'dimensions': [
@@ -312,6 +313,7 @@ class TestSwarmingTrigger(NetTestCase):
parent_task_id=None,
priority=101,
properties=swarming.TaskProperties(
+ caches=[],
cipd_input=None,
command=['a', 'b'],
dimensions={'foo': 'bar', 'os': 'Mac'},
@@ -382,6 +384,7 @@ class TestSwarmingTrigger(NetTestCase):
parent_task_id='123',
priority=101,
properties=swarming.TaskProperties(
+ caches=[],
cipd_input=None,
command=['a', 'b'],
dimensions={'foo': 'bar', 'os': 'Mac'},
@@ -437,6 +440,7 @@ class TestSwarmingTrigger(NetTestCase):
parent_task_id='123',
priority=101,
properties=swarming.TaskProperties(
+ caches=[],
cipd_input=swarming.CipdInput(
client_package=None,
packages=[
@@ -843,6 +847,7 @@ class TestMain(NetTestCase):
'parent_task_id': '',
'priority': 100,
'properties': {
+ 'caches': [],
'cipd_input': None,
'command': ['python', '-c', 'print(\'hi\')'],
'dimensions': [
@@ -898,6 +903,7 @@ class TestMain(NetTestCase):
'parent_task_id': '',
'priority': 100,
'properties': {
+ 'caches': [],
'cipd_input': None,
'command': ['python', '-c', 'print(\'hi\')'],
'dimensions': [
@@ -1084,6 +1090,7 @@ class TestMain(NetTestCase):
'parent_task_id': '',
'priority': 101,
'properties': {
+ 'caches': [],
'cipd_input': None,
'command': None,
'dimensions': [
« no previous file with comments | « client/swarming.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698