diff --git a/conftest.py b/conftest.py --- a/conftest.py +++ b/conftest.py @@ -7,8 +7,6 @@ # Modules that should not be loaded by --doctest-modules collect_ignore = [ - # ImportError - 'swh/scheduler/updater/ghtorrent/fake.py', # NotImplementedError: save_group is not supported by this backend. 'swh/scheduler/tests/tasks.py', # OSError: Configuration file must be defined diff --git a/swh/scheduler/updater/ghtorrent/fake.py b/swh/scheduler/updater/ghtorrent/fake.py --- a/swh/scheduler/updater/ghtorrent/fake.py +++ b/swh/scheduler/updater/ghtorrent/fake.py @@ -9,7 +9,12 @@ from arrow import utcnow from kombu import Connection -from swh.scheduler.updater.ghtorrent import RabbitMQConn, events +from swh.scheduler.updater.ghtorrent import events + + +class RabbitMQConn: + # FIXME + pass class FakeRandomOriginGenerator: