From fd6306a8641b21d5d625aa8ab19168f9a4b30c35 Mon Sep 17 00:00:00 2001 From: navjot Date: Sat, 3 Oct 2020 17:26:49 +0530 Subject: [PATCH] fixed CQ for src/bitmessagemain and src/helper_test module --- src/bitmessagemain.py | 4 ++-- src/helper_test.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index 350b7571..67a725ff 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -373,7 +373,7 @@ class Main(object): else: state.enableGUI = True # pylint: disable=relative-import - test_core_result = TestCoreDummy(errors = 1,failures = 1) + test_core_result = TestCoreDummy(errors=1, failures=1) try: from tests import core as test_core 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 # client is a one-man operation. Bitcoin tips are quite appreciated. -# 1H5XaDA6fYENLbknwZyjiYXYPQaFjjLX2u \ No newline at end of file +# 1H5XaDA6fYENLbknwZyjiYXYPQaFjjLX2u diff --git a/src/helper_test.py b/src/helper_test.py index b8041564..d36c04d4 100644 --- a/src/helper_test.py +++ b/src/helper_test.py @@ -5,6 +5,6 @@ src/helper_test.py import collections """ -Core Dummy testcase instance +Core Dummy testcase instance """ -TestCoreDummy = collections.namedtuple('TestCoreDummy',['errors','failures']) \ No newline at end of file +TestCoreDummy = collections.namedtuple('TestCoreDummy', ['errors', -'failures'])