summaryrefslogtreecommitdiff
path: root/buildscripts/tests/test_git.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/tests/test_git.py')
-rw-r--r--buildscripts/tests/test_git.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/buildscripts/tests/test_git.py b/buildscripts/tests/test_git.py
index 6a49e894581..db34ad2f6f9 100644
--- a/buildscripts/tests/test_git.py
+++ b/buildscripts/tests/test_git.py
@@ -7,6 +7,8 @@ import unittest
import buildscripts.git as _git
+# pylint: disable=missing-docstring,protected-access
+
class TestRepository(unittest.TestCase):
def setUp(self):
@@ -46,7 +48,7 @@ class TestRepository(unittest.TestCase):
def _check_gito_command(self, method, command, params):
# Initialize subprocess mock.
- self.subprocess.call_output_args = None
+ self.subprocess.call_output_args = None # pylint: disable=attribute-defined-outside-init
self.subprocess.call_output = str(method)
self.subprocess.call_returncode = 0
# Call method.
@@ -80,7 +82,7 @@ class MockSubprocess(object):
self.call_returncode = 0
self.call_output = ""
- def Popen(self, args, **kwargs):
+ def Popen(self, args, **kwargs): # pylint: disable=invalid-name,unused-argument
self.call_args = args
return MockProcess(self.call_returncode, self.call_output)