Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.auth.test_views::Tests / Python tests / test_oidc_get_bearer_token_expired_token
Failed

TEST RESULT

Run At
Dec 1 2021, 4:55 PM
Details
request = <SubRequest '_django_db_marker' for <Function test_oidc_get_bearer_token_expired_token>> @pytest.fixture(autouse=True) def _django_db_marker(request) -> None: """Implement the django_db marker, internal to pytest-django.""" marker = request.node.get_closest_marker("django_db") if marker: > request.getfixturevalue("_django_db_helper") .tox/py3/lib/python3.7/site-packages/pytest_django/plugin.py:472: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/pytest_django/fixtures.py:234: in _django_db_helper test_case._pre_setup() .tox/py3/lib/python3.7/site-packages/django/test/testcases.py:938: in _pre_setup self._fixture_setup() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <pytest_django.fixtures._django_db_helper.<locals>.PytestDjangoTestCase testMethod=__init__> def _fixture_setup(self): if not self._databases_support_transactions(): # If the backend does not support transactions, we should reload # class data before each test self.setUpTestData() return super()._fixture_setup() > assert not self.reset_sequences, 'reset_sequences cannot be used on TestCase instances' E AssertionError: reset_sequences cannot be used on TestCase instances .tox/py3/lib/python3.7/site-packages/django/test/testcases.py:1168: AssertionError