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

Unified Diff: infra/services/builder_alerts/test/crbug_issues_test.py

Issue 2150983004: Count flakiness pipeline issue tracker requests (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix Created 4 years, 5 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/services/builder_alerts/crbug_issues.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra/services/builder_alerts/test/crbug_issues_test.py
diff --git a/infra/services/builder_alerts/test/crbug_issues_test.py b/infra/services/builder_alerts/test/crbug_issues_test.py
index 555aaae40821d51671fe12438496023bf3b0b335..6137119ac6e709e63fadb331742524755742d25c 100644
--- a/infra/services/builder_alerts/test/crbug_issues_test.py
+++ b/infra/services/builder_alerts/test/crbug_issues_test.py
@@ -7,6 +7,7 @@ import json
import mock
import unittest
+from infra_libs import ts_mon
from infra.services.builder_alerts import crbug_issues
from apiclient.errors import HttpError
@@ -83,6 +84,7 @@ class CrbugIssuesQueryTest(unittest.TestCase):
def setUp(self):
list_issues_mock = mock.Mock()
list_issues_mock.return_value = CRBUG_ISSUES_LIST_TEST_REPLY
+ ts_mon.reset_for_unittest()
self._patchers = [
mock.patch.object(crbug_issues, '_list_issues', list_issues_mock),
« no previous file with comments | « infra/services/builder_alerts/crbug_issues.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698