Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Dec 30, 2021
1 parent 0b788c7 commit e00f5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_discriminator.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class B:
pass


@pytest.mark.parametrize("type_, obj", [("a", A("a")), ("b", B())])
@pytest.mark.parametrize("type_, obj", [("a", A("a")), ("B", B())])
def test_discriminator_literal_field(type_, obj):
assert (
deserialize(Annotated[Union[A, B], discriminator("type")], {"type": type_})
Expand Down

0 comments on commit e00f5a9

Please sign in to comment.