Skip to content

Commit f0aca15

Browse files
committed
Fix B015 Pointless comparison
1 parent 47004ee commit f0aca15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django/forms/tests/test_mutation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def test_model_form_mutation_mutate_invalid_form():
279279
result = PetMutation.mutate_and_get_payload(None, None)
280280

281281
# A pet was not created
282-
Pet.objects.count() == 0
282+
assert Pet.objects.count() == 0
283283

284284
fields_w_error = [e.field for e in result.errors]
285285
assert len(result.errors) == 2

0 commit comments

Comments
 (0)