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

Unified Diff: appengine/swarming/handlers_bot_test.py

Issue 2958853002: Propagate name of system service account to the bot. (Closed)
Patch Set: Created 3 years, 6 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 | « appengine/swarming/handlers_bot.py ('k') | appengine/swarming/swarming_bot/bot_code/bot_auth.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_bot_test.py
diff --git a/appengine/swarming/handlers_bot_test.py b/appengine/swarming/handlers_bot_test.py
index 79907974996c83fcf70d854a7841a42e864bcf13..c059672a49160899166300ce04c54195b9408ab6 100755
--- a/appengine/swarming/handlers_bot_test.py
+++ b/appengine/swarming/handlers_bot_test.py
@@ -316,7 +316,10 @@ class BotApiTest(test_env_handlers.AppTestBase):
u'secret_bytes': None,
u'io_timeout': 1200,
u'outputs': [u'foo', u'path/to/foobar'],
- u'service_account': u'none',
+ u'service_accounts': {
+ u'system': {u'service_account': u'none'},
+ u'task': {u'service_account': u'none'},
+ },
u'task_id': task_id,
},
}
@@ -385,7 +388,10 @@ class BotApiTest(test_env_handlers.AppTestBase):
u'secret_bytes': None,
u'io_timeout': 1200,
u'outputs': [u'foo', u'path/to/foobar'],
- u'service_account': u'bot',
+ u'service_accounts': {
+ u'system': {u'service_account': u'none'},
+ u'task': {u'service_account': u'bot'},
+ },
u'task_id': task_id,
},
}
@@ -439,7 +445,10 @@ class BotApiTest(test_env_handlers.AppTestBase):
u'io_timeout': 1200,
u'outputs': [u'foo', u'path/to/foobar'],
u'secret_bytes': None,
- u'service_account': u'none',
+ u'service_accounts': {
+ u'system': {u'service_account': u'none'},
+ u'task': {u'service_account': u'none'},
+ },
u'task_id': task_id,
},
}
@@ -534,7 +543,10 @@ class BotApiTest(test_env_handlers.AppTestBase):
u'secret_bytes': None,
u'io_timeout': 1200,
u'outputs': [u'foo', u'path/to/foobar'],
- u'service_account': u'none',
+ u'service_accounts': {
+ u'system': {u'service_account': u'none'},
+ u'task': {u'service_account': u'none'},
+ },
u'task_id': task_id,
},
}
@@ -693,7 +705,10 @@ class BotApiTest(test_env_handlers.AppTestBase):
u'secret_bytes': None,
u'io_timeout': 1200,
u'outputs': [u'foo', u'path/to/foobar'],
- u'service_account': u'none',
+ u'service_accounts': {
+ u'system': {u'service_account': u'none'},
+ u'task': {u'service_account': u'none'},
+ },
u'task_id': task_id,
},
}
« no previous file with comments | « appengine/swarming/handlers_bot.py ('k') | appengine/swarming/swarming_bot/bot_code/bot_auth.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698