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

Unified Diff: infra_libs/ts_mon/common/interface.py

Issue 1797103003: gae_ts_mon: instrument Cloud Endpoint methods (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Removed unnecessary 'no cover' 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
Index: infra_libs/ts_mon/common/interface.py
diff --git a/infra_libs/ts_mon/common/interface.py b/infra_libs/ts_mon/common/interface.py
index 40581a5ab12d03d2259fbf38904f622d6e1a1123..3b4fda983265e444bb8e2fa0be1b177c034d4d50 100644
--- a/infra_libs/ts_mon/common/interface.py
+++ b/infra_libs/ts_mon/common/interface.py
@@ -133,6 +133,10 @@ def close():
def reset_for_unittest():
+ global state
+ store = state.store
+ state = State()
+ state.store = store
state.store.reset_for_unittest()

Powered by Google App Engine
This is Rietveld 408576698