mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Disable some PyLint warnings.
This commit is contained in:
parent
aa8ead9897
commit
6e596738de
1 changed files with 3 additions and 3 deletions
|
@ -98,7 +98,7 @@ def run_tests(*test_cases, **kwargs):
|
|||
help='Disable colour printing.'
|
||||
)
|
||||
|
||||
def run_testcase(self, testcase, needs_daemon=True):
|
||||
def run_testcase(self, testcase, needs_daemon=True): # pylint: disable=W0221
|
||||
if needs_daemon:
|
||||
print('Setting up Salt daemons to execute tests')
|
||||
with TestDaemon(self):
|
||||
|
@ -461,7 +461,7 @@ class TestDaemon(object):
|
|||
sys.stdout.flush()
|
||||
time.sleep(1)
|
||||
now = datetime.now()
|
||||
else:
|
||||
else: # pylint: disable=W0120
|
||||
sys.stdout.write(
|
||||
'\n {RED_BOLD}*{ENDC} ERROR: Failed to get information '
|
||||
'back\n'.format(**self.colors)
|
||||
|
@ -524,7 +524,7 @@ class TestDaemon(object):
|
|||
|
||||
time.sleep(1)
|
||||
now = datetime.now()
|
||||
else:
|
||||
else: # pylint: disable=W0120
|
||||
print(
|
||||
'\n {RED_BOLD}*{ENDC} WARNING: Minions failed to connect '
|
||||
'back. Tests requiring them WILL fail'.format(**self.colors)
|
||||
|
|
Loading…
Add table
Reference in a new issue