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

Unified Diff: infra/libs/event_mon/test/router_test.py

Issue 875403010: event_mon: actually implemented push (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebased + fixed nits Created 5 years, 10 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/event_mon/test/monitoring_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/event_mon/test/router_test.py
diff --git a/infra/libs/event_mon/test/router_test.py b/infra/libs/event_mon/test/router_test.py
index 7d64e394ff1a47586c675dcafafad070b980dc13..b7a285a8c950c011c0cf65ae775e76e5a165bf1a 100644
--- a/infra/libs/event_mon/test/router_test.py
+++ b/infra/libs/event_mon/test/router_test.py
@@ -11,11 +11,11 @@ from infra.libs.event_mon.log_request_lite_pb2 import LogRequestLite
class RouterTests(unittest.TestCase):
def test_smoke(self):
# Use dry_run to avoid code that deals with http (including auth).
- r = router._Router(dry_run=True)
+ r = router._Router(endpoint=None)
self.assertTrue(r.close())
def test_push_smoke(self):
- r = router._Router(dry_run=True)
+ r = router._Router(endpoint=None)
req = LogRequestLite.LogEventLite()
req.event_time_ms = router.time_ms()
@@ -25,6 +25,6 @@ class RouterTests(unittest.TestCase):
self.assertTrue(r.close())
def test_push_error_handling(self):
- r = router._Router(dry_run=True)
+ r = router._Router(endpoint=None)
r.push_event(None)
self.assertTrue(r.close())
« no previous file with comments | « infra/libs/event_mon/test/monitoring_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698