Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Jan 12, 2024
1 parent 7db8fa1 commit 095fc91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geostore/tests/test_models/test_relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_sync_relations_intersects(self):
[self.city_cover.pk])
# city cover should not be present after deletion
intersect_relation.delete()
self.assertListEqual(list(self.trek.relations_as_origin.filter(relation=intersect_relation)
self.assertListEqual(list(self.trek.relations_as_origin.all()
.values_list('destination__pk', flat=True)),
[])

Expand Down

0 comments on commit 095fc91

Please sign in to comment.