-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update import to work with django < 4.2
trying to run tests with django versions < 4.2 threw an import error since assertQuerySetEqual was named assertQuerysetEqual, with a lowercase "s" in "set": tests/test_webservices.py:12: in <module> from pytest_django.asserts import assertQuerySetEqual E ImportError: cannot import name 'assertQuerySetEqual' from 'pytest_django.asserts' this swaps the right name in according to django's version.
- Loading branch information
1 parent
0929193
commit e307ddb
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters