Skip to content

Commit

Permalink
don't validate in fill_without_resolve test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kabir Khan committed Jun 30, 2023
1 parent 2df560f commit 5213981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confection/tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ class BaseSchema(BaseModel):
assert filled["catsie"]["cute"] is True
with pytest.raises(ConfigValidationError):
my_registry.resolve(config, schema=BaseSchema)
filled2 = my_registry.fill(config, schema=BaseSchema)
filled2 = my_registry.fill(config, schema=BaseSchema, validate=False)
assert filled2["catsie"]["cute"] is True
resolved = my_registry.resolve(filled2)
assert resolved["catsie"] == "meow"
Expand Down

0 comments on commit 5213981

Please sign in to comment.