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

Side by Side Diff: appengine/findit/waterfall/test/wf_testcase.py

Issue 2525003005: [Predator] Move testcase.py from libs/ to gae_libs/ (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « appengine/findit/model/flake/test/flake_analysis_request_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from google.appengine.api import users 5 from google.appengine.api import users
6 6
7 import copy 7 import copy
8 8
9 import gae_ts_mon 9 import gae_ts_mon
10 10
11 from libs.testcase import TestCase 11 from gae_libs.testcase import TestCase
12 from model.wf_config import FinditConfig 12 from model.wf_config import FinditConfig
13 13
14 14
15 _DEFAULT_STEPS_FOR_MASTERS_RULES = { 15 _DEFAULT_STEPS_FOR_MASTERS_RULES = {
16 'supported_masters': { 16 'supported_masters': {
17 'm': { 17 'm': {
18 'check_global': True, 18 'check_global': True,
19 }, 19 },
20 'm3': { 20 'm3': {
21 'check_global': True, 21 'check_global': True,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 config_data[config_property].update(override_data) 148 config_data[config_property].update(override_data)
149 149
150 FinditConfig.Get().Update(users.User(email='admin@chromium.org'), True, 150 FinditConfig.Get().Update(users.User(email='admin@chromium.org'), True,
151 **config_data) 151 **config_data)
152 152
153 def setUp(self): 153 def setUp(self):
154 super(WaterfallTestCase, self).setUp() 154 super(WaterfallTestCase, self).setUp()
155 self.UpdateUnitTestConfigSettings() 155 self.UpdateUnitTestConfigSettings()
156 self.maxDiff = None 156 self.maxDiff = None
157 gae_ts_mon.reset_for_unittest(disable=True) 157 gae_ts_mon.reset_for_unittest(disable=True)
OLDNEW
« no previous file with comments | « appengine/findit/model/flake/test/flake_analysis_request_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698