Skip to content

Commit

Permalink
chore(internal): update test syntax (#1798)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Oct 17, 2024
1 parent fc4fce3 commit d3098dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class Model(BaseModel):
assert m.foo is True

m = Model.construct(foo="CARD_HOLDER")
assert m.foo is "CARD_HOLDER"
assert m.foo == "CARD_HOLDER"

m = Model.construct(foo={"bar": False})
assert isinstance(m.foo, Submodel1)
Expand Down

0 comments on commit d3098dd

Please sign in to comment.