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

Unified Diff: infra_libs/ts_mon/common/test/metrics_test.py

Issue 1797103003: gae_ts_mon: instrument Cloud Endpoint methods (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Reduced test flakiness Created 4 years, 9 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 | « infra_libs/ts_mon/common/test/interface_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra_libs/ts_mon/common/test/metrics_test.py
diff --git a/infra_libs/ts_mon/common/test/metrics_test.py b/infra_libs/ts_mon/common/test/metrics_test.py
index a27833b1fe680b347e792d1a40b5e03174ec780c..b064caf0a92849cd07992c491b66e7d300c7a51c 100644
--- a/infra_libs/ts_mon/common/test/metrics_test.py
+++ b/infra_libs/ts_mon/common/test/metrics_test.py
@@ -3,7 +3,6 @@
# found in the LICENSE file.
import sys
-import textwrap
import unittest
import mock
@@ -22,6 +21,7 @@ from infra_libs.ts_mon.protos import metrics_pb2
class TestBase(unittest.TestCase):
def setUp(self):
+ super(TestBase, self).setUp()
target = targets.TaskTarget('test_service', 'test_job',
'test_region', 'test_host')
self.mock_state = interface.State(target=target)
@@ -31,6 +31,7 @@ class TestBase(unittest.TestCase):
def tearDown(self):
self.state_patcher.stop()
+ super(TestBase, self).tearDown()
class MetricTest(TestBase):
« no previous file with comments | « infra_libs/ts_mon/common/test/interface_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698