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

Unified Diff: tests/gclient_utils_test.py

Issue 5695007: Enhance RunPylint to use white_list and black_list arguments. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: address review comment Created 10 years 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
« no previous file with comments | « tests/gclient_smoketest.py ('k') | tests/presubmit_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_utils_test.py
diff --git a/tests/gclient_utils_test.py b/tests/gclient_utils_test.py
index aa759ffb02201489abaa2842f13d434eea96ae77..4b9ebf2a57925f9445bd1bcdb72931f643130c9e 100755
--- a/tests/gclient_utils_test.py
+++ b/tests/gclient_utils_test.py
@@ -3,6 +3,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# pylint: disable=E1101,W0403
+
import StringIO
# Fixes include path.
@@ -76,7 +78,7 @@ class CheckCallAndFilterTestCase(GclientUtilBase):
def __init__(self, test_string):
self.stdout = StringIO.StringIO(test_string)
def wait(self):
- pass
+ pass
def _inner(self, args, test_string):
cwd = 'bleh'
@@ -112,7 +114,8 @@ class CheckCallAndFilterTestCase(GclientUtilBase):
self._inner(args, test_string)
self.checkstdout('\n________ running \'boo foo bar\' in \'bleh\'\n'
'ahah\naccb\nallo\naddb\n\n'
- '________ running \'boo foo bar\' in \'bleh\'\nahah\naccb\nallo\naddb\n')
+ '________ running \'boo foo bar\' in \'bleh\'\nahah\naccb\nallo\naddb'
+ '\n')
def testNoLF(self):
# Exactly as testCheckCallAndFilterAndHeader without trailing \n
« no previous file with comments | « tests/gclient_smoketest.py ('k') | tests/presubmit_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698