Skip to content

Commit

Permalink
Improve test function name
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobiasd committed Aug 12, 2022
1 parent e358515 commit bb6a7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion undictify/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ def test_optional_int_enum(self) -> None:
obj = WithOptionalIntEnum(**json.loads(object_repr))
self.assertEqual(SomeIntEnum.BAR, obj.int_enum)

def test_optional_int_enum_None(self) -> None:
def test_optional_int_enum_null(self) -> None:
"""Valid JSON string with null."""
object_repr = '''{"int_enum": null}'''
obj = WithOptionalIntEnum(**json.loads(object_repr))
Expand Down

0 comments on commit bb6a7e9

Please sign in to comment.