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

Unified Diff: appengine/swarming/handlers_test.py

Issue 2012843003: Remove use of search API; effectively remove support to search for task by name. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 7 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_frontend.py ('k') | appengine/swarming/server/task_result.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_test.py
diff --git a/appengine/swarming/handlers_test.py b/appengine/swarming/handlers_test.py
index 1e89255c847e3a800b827e150dcd8c982cc04a4d..2dd137e0e76bb2d722e9870df0aeae05f4ed3f86 100755
--- a/appengine/swarming/handlers_test.py
+++ b/appengine/swarming/handlers_test.py
@@ -261,15 +261,6 @@ class FrontendTest(AppTestBase):
self.app.get('/user/tasks?sort=foo', status=400)
self.app.get('/user/tasks?state=foo', status=400)
- def test_task_search_task_name(self):
- # Try all the combinations of task queries to ensure the index exist.
- self.set_as_privileged_user()
- self.client_create_task_raw()
- self.app.get('/user/tasks?task_name=hi', status=200)
- for sort, state in self._sort_state_product():
- url = '/user/tasks?sort=%s&state=%s' % (sort, state)
- self.app.get(url + '&task_name=hi', status=200)
-
def test_task_search_task_tag(self):
# Try all the combinations of task queries to ensure the index exist.
self.set_as_privileged_user()
« no previous file with comments | « appengine/swarming/handlers_frontend.py ('k') | appengine/swarming/server/task_result.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698