fix: django 5.1 collapsible inlines #65
GitHub Actions / Test Report
failed
Jul 12, 2024 in 0s
691 tests run, 628 passed, 60 skipped, 3 failed.
Annotations
Check failure on line 1 in Widgets
github-actions / Test Report
Widgets.test_initial_extra_fk_two_deep
selenium.common.exceptions.TimeoutException: Message: Timeout waiting for clickable element at selector='#id_name'
Stacktrace:
#0 0x55ffea009c7a <unknown>
#1 0x55ffe9cece2c <unknown>
#2 0x55ffe9d39661 <unknown>
#3 0x55ffe9d39751 <unknown>
#4 0x55ffe9d7df64 <unknown>
#5 0x55ffe9d5c5ed <unknown>
#6 0x55ffe9d7b303 <unknown>
#7 0x55ffe9d5c363 <unknown>
#8 0x55ffe9d2c247 <unknown>
#9 0x55ffe9d2cb9e <unknown>
#10 0x55ffe9fd024b <unknown>
#11 0x55ffe9fd42f1 <unknown>
#12 0x55ffe9fbbafe <unknown>
#13 0x55ffe9fd4e52 <unknown>
#14 0x55ffe9fa079f <unknown>
#15 0x55ffe9ff9638 <unknown>
#16 0x55ffe9ff9810 <unknown>
#17 0x55ffea008dac <unknown>
#18 0x7f4fd8494ac3 <unknown>
Raw output
nested_admin/tests/admin_widgets/tests.py:260: in test_initial_extra_fk_two_deep
self.check_fk([0, 0])
nested_admin/tests/admin_widgets/tests.py:164: in check_fk
self.set_field("name", name)
nested_admin/tests/base.py:466: in set_field
with self.clickable_selector(field_selector) as el:
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/contextlib.py:113: in __enter__
return next(self.gen)
.tox/py38-dj42-grp/lib/python3.8/site-packages/selenosis/testcases.py:138: in clickable_selector
self.wait_until_clickable_selector(selector, timeout)
.tox/py38-dj42-grp/lib/python3.8/site-packages/selenosis/testcases.py:106: in wait_until_clickable_selector
self.wait_until(
.tox/py38-dj42-grp/lib/python3.8/site-packages/selenosis/testcases.py:73: in wait_until
WebDriverWait(self.selenium, timeout).until(callback, message)
.tox/py38-dj42-grp/lib/python3.8/site-packages/selenium/webdriver/support/wait.py:105: in until
raise TimeoutException(message, screen, stacktrace)
E selenium.common.exceptions.TimeoutException: Message: Timeout waiting for clickable element at selector='#id_name'
E Stacktrace:
E #0 0x55ffea009c7a <unknown>
E #1 0x55ffe9cece2c <unknown>
E #2 0x55ffe9d39661 <unknown>
E #3 0x55ffe9d39751 <unknown>
E #4 0x55ffe9d7df64 <unknown>
E #5 0x55ffe9d5c5ed <unknown>
E #6 0x55ffe9d7b303 <unknown>
E #7 0x55ffe9d5c363 <unknown>
E #8 0x55ffe9d2c247 <unknown>
E #9 0x55ffe9d2cb9e <unknown>
E #10 0x55ffe9fd024b <unknown>
E #11 0x55ffe9fd42f1 <unknown>
E #12 0x55ffe9fbbafe <unknown>
E #13 0x55ffe9fd4e52 <unknown>
E #14 0x55ffe9fa079f <unknown>
E #15 0x55ffe9ff9638 <unknown>
E #16 0x55ffe9ff9810 <unknown>
E #17 0x55ffea008dac <unknown>
E #18 0x7f4fd8494ac3 <unknown>
Check failure on line 1 in Widgets
github-actions / Test Report
Widgets.test_initial_extra_fk_two_deep
failed on teardown with "django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block."
Raw output
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/test/testcases.py:419: in _setup_and_call
self._post_teardown()
.tox/py38-dj42-grp/lib/python3.8/site-packages/selenosis/testcases.py:45: in _post_teardown
super(SelenosisLiveServerTestCaseMixin, self)._post_teardown()
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/test/testcases.py:1279: in _post_teardown
self._fixture_teardown()
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/test/testcases.py:1313: in _fixture_teardown
call_command(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/core/management/__init__.py:194: in call_command
return command.execute(*args, **defaults)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/core/management/base.py:458: in execute
output = self.handle(*args, **options)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/core/management/commands/flush.py:51: in handle
sql_list = sql_flush(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/core/management/sql.py:11: in sql_flush
tables = connection.introspection.django_table_names(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/base/introspection.py:110: in django_table_names
existing_tables = set(self.table_names(include_views=include_views))
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/base/introspection.py:57: in table_names
return get_names(cursor)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/base/introspection.py:51: in get_names
for ti in self.get_table_list(cursor)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/sqlite3/introspection.py:80: in get_table_list
cursor.execute(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/utils.py:67: in execute
return self._execute_with_wrappers(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/utils.py:80: in _execute_with_wrappers
return executor(sql, params, many, context)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/utils.py:83: in _execute
self.db.validate_no_broken_transaction()
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/base/base.py:531: in validate_no_broken_transaction
raise TransactionManagementError(
E django.db.transaction.TransactionManagementError: An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.
Check failure on line 1 in Widgets
github-actions / Test Report
Widgets.test_initial_extra_m2m
django.db.utils.IntegrityError: UNIQUE constraint failed: auth_user.username
Raw output
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/utils.py:89: in _execute
return self.cursor.execute(sql, params)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py:328: in execute
return super().execute(query, params)
E sqlite3.IntegrityError: UNIQUE constraint failed: auth_user.username
The above exception was the direct cause of the following exception:
nested_admin/tests/base.py:72: in setUp
super().setUp()
.tox/py38-dj42-grp/lib/python3.8/site-packages/selenosis/testcases.py:234: in setUp
get_user_model().objects.create_superuser(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/contrib/auth/models.py:172: in create_superuser
return self._create_user(username, email, password, **extra_fields)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/contrib/auth/models.py:155: in _create_user
user.save(using=self._db)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/contrib/auth/base_user.py:76: in save
super().save(*args, **kwargs)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/models/base.py:814: in save
self.save_base(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/models/base.py:877: in save_base
updated = self._save_table(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/models/base.py:1020: in _save_table
results = self._do_insert(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/models/base.py:1061: in _do_insert
return manager._insert(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/models/manager.py:87: in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/models/query.py:1805: in _insert
return query.get_compiler(using=using).execute_sql(returning_fields)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/models/sql/compiler.py:1822: in execute_sql
cursor.execute(sql, params)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/utils.py:67: in execute
return self._execute_with_wrappers(
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/utils.py:80: in _execute_with_wrappers
return executor(sql, params, many, context)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/utils.py:89: in _execute
return self.cursor.execute(sql, params)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/utils.py:91: in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/utils.py:89: in _execute
return self.cursor.execute(sql, params)
.tox/py38-dj42-grp/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py:328: in execute
return super().execute(query, params)
E django.db.utils.IntegrityError: UNIQUE constraint failed: auth_user.username
Loading