| OLD | NEW |
| 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 Loading... |
| 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) |
| OLD | NEW |