diff --git a/swh/journal/tests/utils.py b/swh/journal/tests/utils.py --- a/swh/journal/tests/utils.py +++ b/swh/journal/tests/utils.py @@ -64,6 +64,9 @@ if unknown_topics: raise ValueError('Unknown topics %s' % ', '.join(unknown_topics)) + def close(self): + pass + class MockedJournalClient(JournalClient): def __init__(self, queue, object_types=ACCEPTED_OBJECT_TYPES):