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

Side by Side Diff: appengine/findit/model/test/wf_swarming_task_test.py

Issue 2187763004: [Findit] Refactor Findit pipeline. (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 unified diff | Download patch
« no previous file with comments | « no previous file | appengine/findit/model/wf_swarming_task.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import unittest 5 import unittest
6 6
7 from model.wf_swarming_task import WfSwarmingTask 7 from model.wf_swarming_task import WfSwarmingTask
8 8
9 9
10 class WfSwarmingTaskTest(unittest.TestCase): 10 class WfSwarmingTaskTest(unittest.TestCase):
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 } 35 }
36 36
37 expected_classified_tests = { 37 expected_classified_tests = {
38 'flaky_tests': ['TestSuite1.test2', 'TestSuite1.test1'], 38 'flaky_tests': ['TestSuite1.test2', 'TestSuite1.test1'],
39 'reliable_tests': ['TestSuite1.test3', 'TestSuite1.test4'], 39 'reliable_tests': ['TestSuite1.test3', 'TestSuite1.test4'],
40 'unknown_tests': ['TestSuite1.test5'] 40 'unknown_tests': ['TestSuite1.test5']
41 } 41 }
42 42
43 self.assertEqual(expected_classified_tests, task.classified_tests) 43 self.assertEqual(expected_classified_tests, task.classified_tests)
44 self.assertEqual(expected_classified_tests['reliable_tests'],
45 task.reliable_tests)
OLDNEW
« no previous file with comments | « no previous file | appengine/findit/model/wf_swarming_task.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698