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

Unified Diff: appengine/swarming/server/task_request_test.py

Issue 2985753003: swarming: Remove support for task without 'pool' dimension (Closed)
Patch Set: Tweak comments Created 3 years, 5 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/server/task_request.py ('k') | appengine/swarming/server/task_scheduler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/server/task_request_test.py
diff --git a/appengine/swarming/server/task_request_test.py b/appengine/swarming/server/task_request_test.py
index 619ee5f9d548cb3c29062dc972a943902d2d911c..894819fb18c3eecffadfce9e28435c208d34cd83 100755
--- a/appengine/swarming/server/task_request_test.py
+++ b/appengine/swarming/server/task_request_test.py
@@ -552,8 +552,11 @@ class TaskRequestApiTest(TestCase):
with self.assertRaises(datastore_errors.BadValueError):
mkreq(_gen_request(
properties=dict(dimensions={u'id': u'b', u'a:': u'b'})))
+ with self.assertRaises(datastore_errors.BadValueError):
+ mkreq(_gen_request(
+ properties=dict(dimensions={u'id': u'b', u'a.': u'b'})))
mkreq(_gen_request(
- properties=dict(dimensions={u'id': u'b', u'a.': u'b'})))
+ properties=dict(dimensions={u'id': u'b', u'pool': u'b'})))
# Environment.
with self.assertRaises(TypeError):
« no previous file with comments | « appengine/swarming/server/task_request.py ('k') | appengine/swarming/server/task_scheduler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698