diff --git a/src/tests/mock/bitmessagemock.py b/src/tests/mock/bitmessagemock.py index 4f023ea0..71055c62 100644 --- a/src/tests/mock/bitmessagemock.py +++ b/src/tests/mock/bitmessagemock.py @@ -1,2 +1,3 @@ def main(): - pass \ No newline at end of file + """Mock main function""" + pass diff --git a/src/tests/mock/inventory.py b/src/tests/mock/inventory.py index 6468865d..4148156f 100644 --- a/src/tests/mock/inventory.py +++ b/src/tests/mock/inventory.py @@ -3,6 +3,7 @@ # TODO make this dynamic, and watch out for frozen, like with messagetypes from singleton import Singleton + # pylint: disable=old-style-class,too-few-public-methods @Singleton class MockInventory(): diff --git a/src/tests/mock/network/connectionpool.py b/src/tests/mock/network/connectionpool.py index 9aa16363..9347103d 100644 --- a/src/tests/mock/network/connectionpool.py +++ b/src/tests/mock/network/connectionpool.py @@ -3,12 +3,11 @@ """ import logging -import asyncore_pollchoose as asyncore -from bmconfigparser import BMConfigParser from singleton import Singleton logger = logging.getLogger('default') + # pylint: disable=too-few-public-methods @Singleton class MockBMConnectionPool(object):