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

Side by Side Diff: appengine/findit/model/flake/test/flake_culprit_test.py

Issue 2608853002: [Findit] Adding suspected CL to master flake analysis in preparation for try jobs (Closed)
Patch Set: Addressing comment Created 3 years, 11 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
OLDNEW
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from gae_libs.testcase import TestCase
6
7 from model.flake.flake_culprit import FlakeCulprit
8
9
10 class FlakeculpritTest(TestCase):
11
12 def testCreate(self):
13 repo_name = 'chromium'
14 revision = 'a1b2c3d4'
15 commit_position = 12345
16 url = 'url'
17 culprit = FlakeCulprit.Create(repo_name, revision, commit_position, url)
18 self.assertEqual(repo_name, culprit.repo_name)
19 self.assertEqual(revision, culprit.revision)
20 self.assertEqual(commit_position, culprit.commit_position)
21 self.assertEqual(url, culprit.url)
OLDNEW
« no previous file with comments | « appengine/findit/model/flake/master_flake_analysis.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