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

Unified Diff: appengine/findit/common/findit_testcase.py

Issue 1866883002: [Findit] A huge refactoring and some bug fixing. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix nit. Created 4 years, 8 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/findit/common/constants.py ('k') | appengine/findit/dispatch.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/common/findit_testcase.py
diff --git a/appengine/chromium_try_flakes/handlers/test/index_test.py b/appengine/findit/common/findit_testcase.py
similarity index 52%
copy from appengine/chromium_try_flakes/handlers/test/index_test.py
copy to appengine/findit/common/findit_testcase.py
index 70104c158b4fb3ae230e6f0721dd0c2664db6a88..4f9eabcf527dd8d336d227a9fed83ddcb16793a6 100644
--- a/appengine/chromium_try_flakes/handlers/test/index_test.py
+++ b/appengine/findit/common/findit_testcase.py
@@ -2,11 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from testing_utils import testing
+import os
-from handlers import index
+from testing_utils import testing
-class TestIndex(testing.AppengineTestCase):
- def test_filter_none(self):
- self.assertEqual([1, 2], index.filterNone([1, None, 2]))
+class FinditTestCase(testing.AppengineTestCase):
+ # Setup the customized queues.
+ taskqueue_stub_root_path = os.path.join(
+ os.path.dirname(__file__), os.path.pardir)
« no previous file with comments | « appengine/findit/common/constants.py ('k') | appengine/findit/dispatch.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698