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

Side by Side Diff: recipe_engine/unittests/step_runner_test.py

Issue 2702313003: Remove unused imports and fix some other linter errors. (Closed)
Patch Set: Created 3 years, 10 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
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The LUCI Authors. All rights reserved. 2 # Copyright 2013 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed under the Apache License, Version 2.0 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # that can be found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 import os
7 import shutil
8 import sys
9 import tempfile
10 import unittest 6 import unittest
11 7
12 import test_env 8 import test_env
13 9
14 from recipe_engine import step_runner 10 from recipe_engine import step_runner
15 11
16 12
17 class TestLinebuf(unittest.TestCase): 13 class TestLinebuf(unittest.TestCase):
18 def test_add_partial(self): 14 def test_add_partial(self):
19 lb = step_runner._streamingLinebuf() 15 lb = step_runner._streamingLinebuf()
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 self.assertEqual(["nerdsdoop"], lb.get_buffered()) 48 self.assertEqual(["nerdsdoop"], lb.get_buffered())
53 49
54 self.assertEqual([], lb.get_buffered()) 50 self.assertEqual([], lb.get_buffered())
55 51
56 self.assertEqual([], lb.buffedlines) 52 self.assertEqual([], lb.buffedlines)
57 self.assertEqual("", lb.extra.getvalue()) 53 self.assertEqual("", lb.extra.getvalue())
58 54
59 55
60 if __name__ == '__main__': 56 if __name__ == '__main__':
61 unittest.main() 57 unittest.main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698