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

Unified Diff: appengine/findit/model/crash/test/chrome_crash_analysis_test.py

Issue 2391823006: [Findit] Add iterator and crash_iterator for delta test (Closed)
Patch Set: Update doc strings. Created 4 years, 2 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/findit/model/crash/test/chrome_crash_analysis_test.py
diff --git a/appengine/findit/model/crash/test/chrome_crash_analysis_test.py b/appengine/findit/model/crash/test/chrome_crash_analysis_test.py
index 7f0878f16199e2d92d5eca1c9e6a19452382cb0d..5bf141030fb7b21091f2219c247d46dbddfc58ab 100644
--- a/appengine/findit/model/crash/test/chrome_crash_analysis_test.py
+++ b/appengine/findit/model/crash/test/chrome_crash_analysis_test.py
@@ -33,3 +33,13 @@ class ChromeCrashAnalysisTest(CrashTestCase):
analysis.Reset()
self.assertIsNone(analysis.channel)
self.assertIsNone(analysis.historical_metadata)
+
+ def testChromeCrashAnalysisCustomizedProperty(self):
+ analysis = ChromeCrashAnalysis()
+ analysis.historical_metadata = {'chrome_version': '50.0.1200.0',
+ 'cpm': 0.5}
+ analysis.channel = 'canary'
+ self.assertEqual(analysis.customized_data,
+ {'historical_metadata': {'chrome_version': '50.0.1200.0',
+ 'cpm': 0.5},
+ 'channel': 'canary'})
« no previous file with comments | « appengine/findit/model/crash/chrome_crash_analysis.py ('k') | appengine/findit/util_scripts/crash_queries/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698