Handle pylint warnings in test_process, suppress fixme globally

This commit is contained in:
Lee Miller 2023-08-14 06:05:29 +03:00
parent e249e501cc
commit b38e00c0a3
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
2 changed files with 3 additions and 3 deletions

View File

@ -114,8 +114,8 @@ class TestProcess(TestProcessProto):
for c in self.process.connections():
if c.status == 'LISTEN':
if self._listen is False:
return self.fail(
'Listening while started with --no-incoming')
self.fail('Listening while started with --no-incoming')
return
self.assertEqual(c.laddr[1], self._listening_port or 8444)
break
else:

View File

@ -40,4 +40,4 @@ omit =
ignore_errors = true
[pylint.main]
disable = invalid-name,consider-using-f-string
disable = invalid-name,consider-using-f-string,fixme