Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.api.views.test_origin::Tests / Python tests / test_api_lookup_origin_visit
Failed

TEST RESULT

Run At
Apr 4 2022, 5:29 PM
Details
api_client = <rest_framework.test.APIClient object at 0x7fdb496d9c18> subtest = <function subtest.<locals>.inner at 0x7fdb51274400> @given(new_origin(), visit_dates(3), new_snapshots(3)) > def test_api_lookup_origin_visit( api_client, subtest, new_origin, visit_dates, new_snapshots ): .tox/py3/lib/python3.7/site-packages/swh/web/tests/api/views/test_origin.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/web/tests/api/views/test_origin.py:177: in test_api_lookup_origin_visit @subtest .tox/py3/lib/python3.7/site-packages/swh/web/tests/conftest.py:1108: in inner item.ihook.pytest_runtest_teardown(item=item, nextitem=nextitem) .tox/py3/lib/python3.7/site-packages/pluggy/_hooks.py:265: in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) .tox/py3/lib/python3.7/site-packages/pluggy/_manager.py:80: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) .tox/py3/lib/python3.7/site-packages/_pytest/runner.py:175: in pytest_runtest_teardown item.session._setupstate.teardown_exact(item, nextitem) .tox/py3/lib/python3.7/site-packages/_pytest/runner.py:419: in teardown_exact self._teardown_towards(needed_collectors) .tox/py3/lib/python3.7/site-packages/_pytest/runner.py:434: in _teardown_towards raise exc .tox/py3/lib/python3.7/site-packages/_pytest/runner.py:427: in _teardown_towards self._pop_and_teardown() .tox/py3/lib/python3.7/site-packages/_pytest/runner.py:387: in _pop_and_teardown self._teardown_with_finalization(colitem) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_pytest.runner.SetupState object at 0x7fdb593ae9e8> colitem = <Function test_api_lookup_origin_visits_by_id[]> def _teardown_with_finalization(self, colitem) -> None: self._callfinalizers(colitem) colitem.teardown() for colitem in self._finalizers: > assert colitem in self.stack E AssertionError .tox/py3/lib/python3.7/site-packages/_pytest/runner.py:408: AssertionError