Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(internal): update test syntax #1798

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(internal): update test syntax
  • Loading branch information
stainless-bot committed Oct 17, 2024
commit fec52cab60322ab4727b41a8baaf2d785c0e372b
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