Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.deposit.tests.test_utils::test_normalize_date_1
Failed

TEST RESULT

Run At
Oct 5 2021, 3:10 PM
Details
args = (), keywargs = {}, extra_args = [], entered_patchers = [] exc_info = (<class 'AttributeError'>, AttributeError("<module 'swh.deposit.utils' from '/var/lib/jenkins/workspace/DDEP/tests-on-...kages/swh/deposit/utils.py'> does not have the attribute 'normalize_timestamp'"), <traceback object at 0x7f9c9f33ed48>) patching = <unittest.mock._patch object at 0x7f9ca5ab8f28> @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 0x7f9ca5ab8f28> 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.deposit.utils' from '/var/lib/jenkins/workspace/DDEP/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/deposit/utils.py'> does not have the attribute 'normalize_timestamp' /usr/lib/python3.7/unittest/mock.py:1242: AttributeError