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

Unified Diff: appengine/findit/model/flake/test/flake_swarming_task_test.py

Issue 2124973003: These are the database objects used while finding the regression range. 1/3 (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: added init Created 4 years, 5 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/flake/test/flake_swarming_task_test.py
diff --git a/appengine/findit/model/flake/test/flake_swarming_task_test.py b/appengine/findit/model/flake/test/flake_swarming_task_test.py
new file mode 100644
index 0000000000000000000000000000000000000000..d87db20a22ca19ae23999a230cd53c2b5810c91e
--- /dev/null
+++ b/appengine/findit/model/flake/test/flake_swarming_task_test.py
@@ -0,0 +1,15 @@
+# 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.flake.flake_swarming_task import FlakeSwarmingTask
+
+
+class FlakeSwarmingTaskTest(unittest.TestCase):
+
+ def testStepTestName(self):
+ task = FlakeSwarmingTask.Create('m', 'b', 121, 'browser_tests', 'test1')
+ self.assertEqual('browser_tests', task.step_name)
+ self.assertEqual('test1', task.test_name)
« no previous file with comments | « appengine/findit/model/flake/test/__init__.py ('k') | appengine/findit/model/flake/test/master_flake_analysis_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698