diff --git a/src/mock/class_addressGenerator.py b/src/mock/class_addressGenerator.py index 7934a187..fbb34710 100644 --- a/src/mock/class_addressGenerator.py +++ b/src/mock/class_addressGenerator.py @@ -69,7 +69,7 @@ class FakeAddressGenerator(StoppableThread): try: queues.addressGeneratorQueue.put(("stopThread", "data")) except queue.Full: - self.logger.error('addressGeneratorQueue is Full') + self.logger.warning('addressGeneratorQueue is Full') super(FakeAddressGenerator, self).stopThread() def run(self): diff --git a/src/tests/test_process.py b/src/tests/test_process.py index 5cc9e07b..c968c0ae 100644 --- a/src/tests/test_process.py +++ b/src/tests/test_process.py @@ -149,6 +149,8 @@ class TestProcessProto(unittest.TestCase): ]).split() except subprocess.CalledProcessError: thread_names = [] + except: # noqa:E722 + thread_names = [] running_threads = len(thread_names) if 0 < running_threads < 30: # adequacy check