self = <django.db.backends.utils.CursorWrapper object at 0x7f9096041f98>
sql = 'SELECT setval(pg_get_serial_sequence(\'"auth_group_permissions"\',\'id\'), 1, false);'
params = None
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f909da2ae80>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f9096041f98>})
def _execute(self, sql, params, *ignored_wrapper_args):
self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors:
if params is None:
> return self.cursor.execute(sql)
E psycopg2.errors.UndefinedTable: relation "auth_group_permissions" does not exist
.tox/py3/lib/python3.7/site-packages/django/db/backends/utils.py:82: UndefinedTable
The above exception was the direct cause of the following exception:
request = <SubRequest '_django_db_marker' for <Function test_add_forge_request_list_datatables_no_parameters>>
@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:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.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()
.tox/py3/lib/python3.7/site-packages/django/test/testcases.py:980: in _fixture_setup
self._reset_sequences(db_name)
.tox/py3/lib/python3.7/site-packages/django/test/testcases.py:974: in _reset_sequences
cursor.execute(sql)
.tox/py3/lib/python3.7/site-packages/django/db/backends/utils.py:67: in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
.tox/py3/lib/python3.7/site-packages/django/db/backends/utils.py:76: in _execute_with_wrappers
return executor(sql, params, many, context)
.tox/py3/lib/python3.7/site-packages/django/db/backends/utils.py:82: in _execute
return self.cursor.execute(sql)
.tox/py3/lib/python3.7/site-packages/django/db/utils.py:89: in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <django.db.backends.utils.CursorWrapper object at 0x7f9096041f98>
sql = 'SELECT setval(pg_get_serial_sequence(\'"auth_group_permissions"\',\'id\'), 1, false);'
params = None
ignored_wrapper_args = (False, {'connection': <django.db.backends.postgresql.base.DatabaseWrapper object at 0x7f909da2ae80>, 'cursor': <django.db.backends.utils.CursorWrapper object at 0x7f9096041f98>})
def _execute(self, sql, params, *ignored_wrapper_args):
self.db.validate_no_broken_transaction()
with self.db.wrap_database_errors:
if params is None:
> return self.cursor.execute(sql)
E django.db.utils.ProgrammingError: relation "auth_group_permissions" does not exist
.tox/py3/lib/python3.7/site-packages/django/db/backends/utils.py:82: ProgrammingError
TEST RESULT
TEST RESULT
- Run At
- Mar 29 2022, 10:29 AM