Skip to content

Commit

Permalink
Fix tests for Django 5
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Apr 7, 2024
1 parent 7e64de5 commit 7e53c6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
os: [
ubuntu-20.04,
]
exclude:
- python-version: 3.9
requirements-file: dj50_cms41.txt

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions tests/test_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ def test_tag_type_field(self):
field = TagTypeField()
self.assertEqual(field.verbose_name, "Tag type")
self.assertEqual(
field.choices,
(("div", "div"),),
list(field.choices),
list((("div", "div"),)),
)
self.assertEqual(field.default, "div")
self.assertEqual(field.max_length, 255)
Expand Down

0 comments on commit 7e53c6b

Please sign in to comment.