Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.objstorage.replayer.tests.test_cli::test_replay_content_exclude
Failed

TEST RESULT

Run At
Sep 11 2020, 3:23 PM
Details
args = () keywargs = {'kafka_consumer_group': 'test-consumer-qqnknixckl', 'kafka_prefix': 'qqnknixckl', 'kafka_server': '127.0.0.1:49591'} extra_args = [], entered_patchers = [] exc_info = (<class 'AttributeError'>, AttributeError("<module 'swh.objstorage.replayer.cli' from '/var/lib/jenkins/workspace/DOBJ.../swh/objstorage/replayer/cli.py'> does not have the attribute 'get_objstorage'"), <traceback object at 0x7f25befd6408>) patching = <unittest.mock._patch object at 0x7f25d7c81f60> @wraps(func) def patched(*args, **keywargs): extra_args = [] entered_patchers = [] exc_info = tuple() try: for patching in patched.patchings: > arg = patching.__enter__() /usr/lib/python3.7/unittest/mock.py:1196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.7/unittest/mock.py:1268: in __enter__ original, local = self.get_original() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <unittest.mock._patch object at 0x7f25d7c81f60> def get_original(self): target = self.getter() name = self.attribute original = DEFAULT local = False try: original = target.__dict__[name] except (AttributeError, KeyError): original = getattr(target, name, DEFAULT) else: local = True if name in _builtins and isinstance(target, ModuleType): self.create = True if not self.create and original is DEFAULT: raise AttributeError( > "%s does not have the attribute %r" % (target, name) ) E AttributeError: <module 'swh.objstorage.replayer.cli' from '/var/lib/jenkins/workspace/DOBJSRPL/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/objstorage/replayer/cli.py'> does not have the attribute 'get_objstorage' /usr/lib/python3.7/unittest/mock.py:1242: AttributeError