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

Unified Diff: appengine/findit/model/test/wf_suspected_cl_test.py

Issue 2225723005: [Findit] Add WfSuspectedCL model to save triage results for each suspected CL. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: rebase Created 4 years, 4 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/test/wf_culprit_test.py ('k') | appengine/findit/model/wf_culprit.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/test/wf_suspected_cl_test.py
diff --git a/appengine/findit/model/test/wf_suspected_cl_test.py b/appengine/findit/model/test/wf_suspected_cl_test.py
new file mode 100644
index 0000000000000000000000000000000000000000..87e212248a5783fe171e4aaa64a9508c44ca3578
--- /dev/null
+++ b/appengine/findit/model/test/wf_suspected_cl_test.py
@@ -0,0 +1,13 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import unittest
+
+from model.wf_suspected_cl import WfSuspectedCL
+
+
+class WfSuspectedCLTest(unittest.TestCase):
+ def testProjectName(self):
+ culprit = WfSuspectedCL.Create('chromium', 'r1', 123)
+ self.assertEqual('chromium', culprit.project_name)
« no previous file with comments | « appengine/findit/model/test/wf_culprit_test.py ('k') | appengine/findit/model/wf_culprit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698