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

Side by Side Diff: tools/auto_bisect/source_control_test.py

Issue 1001033004: Fix style in tools/auto_bisect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 9 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 | « tools/auto_bisect/source_control.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 """Unit tests for the source_control module.""" 5 """Unit tests for the source_control module."""
6 6
7 import unittest 7 import unittest
8 import mock 8 import mock
9 9
10 import source_control 10 import source_control
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 # pylint: disable=W0613 74 # pylint: disable=W0613
75 def FakeCheckRunGit(in_command, cwd=None): 75 def FakeCheckRunGit(in_command, cwd=None):
76 for command, output in command_output_map: 76 for command, output in command_output_map:
77 if command == in_command: 77 if command == in_command:
78 return output 78 return output
79 mock_obj.side_effect = FakeCheckRunGit 79 mock_obj.side_effect = FakeCheckRunGit
80 80
81 81
82 if __name__ == '__main__': 82 if __name__ == '__main__':
83 unittest.main() 83 unittest.main()
84
OLDNEW
« no previous file with comments | « tools/auto_bisect/source_control.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698