Skip to content

Commit 59233d7

Browse files
committed
Give a proper name to a test that verifies unique_together works for FK
1 parent 6d525fd commit 59233d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_on_conflict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,9 @@ def test_on_conflict_unique_together(conflict_action):
267267

268268

269269
@pytest.mark.parametrize("conflict_action", CONFLICT_ACTIONS)
270-
def test_on_conflict_unique_together2(conflict_action):
270+
def test_on_conflict_unique_together_fk(conflict_action):
271271
"""Asserts that inserts on models with a unique_together
272-
works properly."""
272+
and a foreign key relationship works properly."""
273273

274274
model = get_fake_model({
275275
'name': models.CharField(max_length=140)

0 commit comments

Comments
 (0)