fixed CQ for src/bitmessagemain and src/helper_test module

This commit is contained in:
navjot 2020-10-03 17:26:49 +05:30
parent 350ec4416f
commit fd6306a864
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C
2 changed files with 4 additions and 4 deletions

View File

@ -373,7 +373,7 @@ class Main(object):
else: else:
state.enableGUI = True state.enableGUI = True
# pylint: disable=relative-import # pylint: disable=relative-import
test_core_result = TestCoreDummy(errors = 1,failures = 1) test_core_result = TestCoreDummy(errors=1, failures=1)
try: try:
from tests import core as test_core from tests import core as test_core
test_core_result = test_core.run() test_core_result = test_core.run()
@ -498,4 +498,4 @@ if __name__ == "__main__":
# So far, the creation of and management of the Bitmessage protocol and this # So far, the creation of and management of the Bitmessage protocol and this
# client is a one-man operation. Bitcoin tips are quite appreciated. # client is a one-man operation. Bitcoin tips are quite appreciated.
# 1H5XaDA6fYENLbknwZyjiYXYPQaFjjLX2u # 1H5XaDA6fYENLbknwZyjiYXYPQaFjjLX2u

View File

@ -5,6 +5,6 @@ src/helper_test.py
import collections import collections
""" """
Core Dummy testcase instance Core Dummy testcase instance
""" """
TestCoreDummy = collections.namedtuple('TestCoreDummy',['errors','failures']) TestCoreDummy = collections.namedtuple('TestCoreDummy', ['errors', -'failures'])