Skip to content

Commit

Permalink
Merge pull request #791 from gasman/fix/assertquerysetequal
Browse files Browse the repository at this point in the history
Set transform=repr on assertQuerysetEqual (Dj4.1 compatibility)
  • Loading branch information
rtpg committed Feb 23, 2022
2 parents 5f3d0df + 3f439f1 commit f860b5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ def test_lookup_by_tag(self):
pks,
[f"<{model_name}: kitty>", f"<{model_name}: cat>"],
ordered=False,
transform=repr,
)

def test_exclude(self):
Expand All @@ -609,6 +610,7 @@ def test_exclude(self):
pks,
[f"<{model_name}: pear>", f"<{model_name}: guava>"],
ordered=False,
transform=repr,
)

def test_multi_inheritance_similarity_by_tag(self):
Expand Down

0 comments on commit f860b5c

Please sign in to comment.