Skip to content

Commit

Permalink
Fix tests running in tox for Django 4.8
Browse files Browse the repository at this point in the history
In Django 4.8 there is a change to the tests need as the date widget
was added - `admin/widgets/date.html`.
  • Loading branch information
PacificGilly committed Mar 21, 2024
1 parent 519bbe6 commit d7e247d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_admin_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def test_detail(admin_client):
{
"django/forms/div.html": 1,
"django/forms/errors/list/default.html": 2,
"admin/widgets/date.html": 3,
"django/forms/errors/list/ul.html": 56,
}
)
Expand Down Expand Up @@ -264,6 +265,7 @@ def test_detail(admin_client):
{
"django/forms/div.html",
"django/forms/errors/list/default.html",
"admin/widgets/date.html",
"django/forms/errors/list/ul.html",
}
)
Expand Down

0 comments on commit d7e247d

Please sign in to comment.