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

Unified Diff: appengine/chromium_cq_status/handlers/test/stats_query_test.py

Issue 2111713004: Teach CQ status app to check login status of users. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Review and tests. Created 4 years, 6 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: appengine/chromium_cq_status/handlers/test/stats_query_test.py
diff --git a/appengine/chromium_cq_status/handlers/test/stats_query_test.py b/appengine/chromium_cq_status/handlers/test/stats_query_test.py
index 91a48c0e83a5a401bf09a804907ab0df0a3f90db..1c64242cb6e2937cfec86839a5af3e96c28e1b20 100644
--- a/appengine/chromium_cq_status/handlers/test/stats_query_test.py
+++ b/appengine/chromium_cq_status/handlers/test/stats_query_test.py
@@ -16,7 +16,9 @@ from model.cq_stats import (
ListStats,
)
from shared.config import LAST_CQ_STATS_CHANGE_KEY
-from shared.utils import minutes_per_day, timestamp_now
+from shared.utils import timestamp_now
+
+from handlers.stats_viewer import minutes_per_day
class TestStatsQuery(testing.AppengineTestCase):
app_module = highend.app
« no previous file with comments | « appengine/chromium_cq_status/handlers/test/post_test.py ('k') | appengine/chromium_cq_status/html/recent.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698