Skip to content

Commit

Permalink
add parameter for path existence
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjaigner committed Jul 15, 2024
1 parent f59812f commit 8080fb0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/repository/test_default_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ def test_default_config() -> None:
with open(
os.path.join(CONFIG_DIR, "thingsboard.config.default.json"), "r"
) as f:
types.config.ThingsBoardConfig.model_validate_json(f.read())
types.config.ThingsBoardConfig.model_validate_json(
f.read(),
context={"ignore-path-existence": True},
)

0 comments on commit 8080fb0

Please sign in to comment.