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

Unified Diff: dashboard/dashboard/add_histograms_queue_test.py

Issue 2879453002: [Dashboard] Get or create ancestors in add_histograms_queue (Closed)
Patch Set: done Created 3 years, 7 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: dashboard/dashboard/add_histograms_queue_test.py
diff --git a/dashboard/dashboard/add_histograms_queue_test.py b/dashboard/dashboard/add_histograms_queue_test.py
index 0ae53c395e7e4ccafaac1ee7720020909f8af931..b33fe47021119de6a971a5b6ed58930836e4c231 100644
--- a/dashboard/dashboard/add_histograms_queue_test.py
+++ b/dashboard/dashboard/add_histograms_queue_test.py
@@ -42,6 +42,9 @@ class AddHistogramsQueueTest(testing_common.TestCase):
original_histogram = json.loads(TEST_HISTOGRAM)
+ test = test_key.get()
+ self.assertIsNotNone(test)
+
histograms = histogram.Histogram.query().fetch()
self.assertEqual(1, len(histograms))
self.assertEqual(original_histogram['guid'], histograms[0].key.id())

Powered by Google App Engine
This is Rietveld 408576698