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

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

Issue 2299883005: [Findit] Add findit_for_client to do analysis based on client_id (Closed)
Patch Set: Rebase. Created 4 years, 3 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 | « appengine/findit/model/crash/crash_config.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/crash/test/crash_config_test.py
diff --git a/appengine/findit/model/crash/test/crash_config_test.py b/appengine/findit/model/crash/test/crash_config_test.py
index 2be2b75c2bbd21083ce67af64fb3e2fdb7d4039c..c1acf1bc0c205ca84c536ee9e6f36f8ea1f6fa2b 100644
--- a/appengine/findit/model/crash/test/crash_config_test.py
+++ b/appengine/findit/model/crash/test/crash_config_test.py
@@ -7,6 +7,7 @@ import re
from google.appengine.api import users
from common.findit_testcase import FinditTestCase
+from crash.type_enums import CrashClient
from model.crash.crash_config import CrashConfig
@@ -96,3 +97,7 @@ class CrashAnalysisTest(FinditTestCase):
crash_config.compiled_component_classifier,
DUMMY_COMPILED_COMPONENT_PATTERNS)
+ def testGetClientConfig(self):
+ crash_config = CrashConfig.Get()
+ self.assertIsNotNone(crash_config.GetClientConfig(CrashClient.FRACAS))
+ self.assertIsNone(crash_config.GetClientConfig('Unsupported_client'))
« no previous file with comments | « appengine/findit/model/crash/crash_config.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698