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

Unified Diff: appengine/swarming/handlers_endpoints_test.py

Issue 2661173004: Make deleted bots still show up when searched for by id (Closed)
Patch Set: Address comments 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 | « appengine/swarming/handlers_endpoints.py ('k') | appengine/swarming/message_conversion.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_endpoints_test.py
diff --git a/appengine/swarming/handlers_endpoints_test.py b/appengine/swarming/handlers_endpoints_test.py
index 5044bca42621b422e9132f5fbd44341ed3e5edbf..6d20fe68fa5c3158bf3123b34e1c3c8b367baaea 100755
--- a/appengine/swarming/handlers_endpoints_test.py
+++ b/appengine/swarming/handlers_endpoints_test.py
@@ -1589,6 +1589,7 @@ class BotsApiTest(BaseTest):
bot1 = {
u'authenticated_as': u'bot:whitelisted-ip',
u'bot_id': u'id1',
+ u'deleted': False,
u'dimensions': [
{u'key': u'foo', u'value': [u'bar']},
{u'key': u'id', u'value': [u'id1']},
@@ -1604,6 +1605,7 @@ class BotsApiTest(BaseTest):
bot2 = {
u'authenticated_as': u'bot:whitelisted-ip',
u'bot_id': u'id2',
+ u'deleted': False,
u'dimensions': [
{u'key': u'foo', u'value': [u'bar']},
{u'key': u'id', u'value': [u'id2']},
@@ -1619,6 +1621,7 @@ class BotsApiTest(BaseTest):
bot3 = {
u'authenticated_as': u'bot:whitelisted-ip',
u'bot_id': u'id3',
+ u'deleted': False,
u'dimensions': [
{u'key': u'foo', u'value': [u'bar']},
{u'key': u'id', u'value': [u'id3']},
@@ -1851,6 +1854,7 @@ class BotApiTest(BaseTest):
expected = {
u'authenticated_as': u'bot:whitelisted-ip',
u'bot_id': u'id1',
+ u'deleted': False,
u'dimensions': [
{u'key': u'foo', u'value': [u'bar']},
{u'key': u'id', u'value': [u'id1']},
« no previous file with comments | « appengine/swarming/handlers_endpoints.py ('k') | appengine/swarming/message_conversion.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698