Skip to content

Commit

Permalink
Fix incorrect test that was picked up by Django 5
Browse files Browse the repository at this point in the history
  • Loading branch information
j4mie committed Jan 12, 2024
1 parent fb35472 commit c9b734e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_producers.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def test_nullable(self):
self.assertEqual(result, None)

def test_nullable_one_to_one(self):
widget = Widget.objects.create(thing=None)
widget = Widget.objects.create()
produce = producers.relationship(
"thing", projectors.producer_to_projector("name", producers.attr("name"))
)
Expand Down

0 comments on commit c9b734e

Please sign in to comment.