Skip to content

Quick lint

Quick lint #102

Triggered via push January 9, 2025 21:57
Status Failure
Total duration 13m 27s
Artifacts 1

test.yml

on: push
Matrix: build
Matrix: lint
Report Test Results
7s
Report Test Results
Test Successful
0s
Test Successful
Fit to window
Zoom out
Zoom in

Annotations

66 errors and 11 warnings
Django 5.1 (Python 3.12)
Process completed with exit code 1.
Django 5.0 (Python 3.10) + grappelli
Process completed with exit code 1.
Django 4.2 (Python 3.9) + grappelli
Process completed with exit code 1.
Django 5.0 (Python 3.9)
Process completed with exit code 1.
Django 4.2 (Python 3.11)
Process completed with exit code 1.
PolymorphicAddFilteringTestCase.test_polymorphic_add_validation_error: PolymorphicAddFilteringTestCase#L1
AssertionError: 0 == 0 : Validation errors should be present, but are not
PolymorphicAddFilteringTestCase.test_polymorphic_add_validation_error: PolymorphicAddFilteringTestCase#L1
AssertionError: 0 == 0 : Validation errors should be present, but are not
PolymorphicAddFilteringTestCase.test_polymorphic_add_validation_error: PolymorphicAddFilteringTestCase#L1
AssertionError: 0 == 0 : Validation errors should be present, but are not
PolymorphicAddFilteringTestCase.test_polymorphic_add_validation_error: PolymorphicAddFilteringTestCase#L1
AssertionError: 0 == 0 : Validation errors should be present, but are not
PolymorphicAddFilteringTestCase.test_polymorphic_add_validation_error: PolymorphicAddFilteringTestCase#L1
AssertionError: 0 == 0 : Validation errors should be present, but are not
Report Test Results
❌ Tests reported 10 failures
PolymorphicAddFilteringTestCase.test_polymorphic_add_validation_error: PolymorphicAddFilteringTestCase#L1
AssertionError: 0 == 0 : Validation errors should be present, but are not
Widgets.test_gfk_related_lookup_add_three_deep: Widgets#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
Widgets.test_gfk_related_lookup_add_three_deep: Widgets#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
Widgets.test_gfk_related_lookup_initial_extra: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_datetime: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_fk_one_deep: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_fk_two_deep: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_m2m: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_initial_extra_prepopulated: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
Widgets.test_nested_autocomplete_extra: Widgets#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrder.test_add_three_deep_datetime: WidgetMediaOrder#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrder.test_add_three_deep_fk: WidgetMediaOrder#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrder.test_add_three_deep_m2m: WidgetMediaOrder#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrder.test_add_three_deep_prepopulated: WidgetMediaOrder#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_add_three_deep_datetime: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_add_three_deep_fk: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_add_three_deep_m2m: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_add_three_deep_prepopulated: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
WidgetMediaOrderWithDateWidget.test_root_date_widget_add_three_deep_datetime: WidgetMediaOrderWithDateWidget#L1
KeyError: 'Problem installing fixture \'/home/runner/work/django-nested-admin/django-nested-admin/nested_admin/tests/fixtures/admin-widgets.xml\': (\'SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC\',)'
TestGenericInlineAdmin.test_add_to_empty_one_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_add_to_empty_one_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_add_to_empty_two_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_add_to_empty_two_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_delete_one_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_delete_one_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_delete_two_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_delete_two_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_delete_two_deep_undelete_one_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_delete_two_deep_undelete_one_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_add_drag: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_add_drag: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_existing_gfkb_to_new_parent_and_back: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_existing_gfkb_to_new_parent_and_back: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_existing_objs: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_existing_objs: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_item_to_empty_parent: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_item_to_empty_parent: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_item_to_new_empty_parent: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_item_to_new_empty_parent: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_drag_new_item: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_drag_new_item: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestGenericInlineAdmin.test_remove_two_deep: TestGenericInlineAdmin#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestGenericInlineAdmin.test_remove_two_deep: TestGenericInlineAdmin#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
GrappelliCollapsibleTabularInlineTestCase.test_grappelli_tabular_collapse_bug: GrappelliCollapsibleTabularInlineTestCase#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
GrappelliCollapsibleTabularInlineTestCase.test_grappelli_tabular_collapse_bug: GrappelliCollapsibleTabularInlineTestCase#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestIdenticalPrefixes.test_add_to_empty_one_deep: TestIdenticalPrefixes#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestIdenticalPrefixes.test_add_to_empty_one_deep: TestIdenticalPrefixes#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
TestIdenticalPrefixes.test_drag_and_drop: TestIdenticalPrefixes#L1
KeyError: ('SELECT "django_content_type"."id", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" ORDER BY "django_content_type"."id" ASC',)
TestIdenticalPrefixes.test_drag_and_drop: TestIdenticalPrefixes#L1
failed on teardown with "django.core.management.base.CommandError: Database file:memorydb_default?mode=memory&cache=shared couldn't be flushed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of the expected database tables doesn't exist. * The SQL was invalid. Hint: Look at the output of 'django-admin sqlflush'. That's the SQL this command wasn't able to run."
lint (black)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (flake8)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (stylelint)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint (eslint)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Django 5.1 (Python 3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Django 5.0 (Python 3.10) + grappelli
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Django 4.2 (Python 3.9) + grappelli
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Django 5.0 (Python 3.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Django 4.2 (Python 3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Report Test Results
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "junit-reports". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
junit-reports
111 KB