feat: update to pydantic v2 and refactor accordingly
This commit is contained in:
parent
4eb438bab3
commit
eeb1573f99
6 changed files with 1151 additions and 855 deletions
|
|
@ -11,7 +11,7 @@ def test_settings_from_env(settings: Settings, notebooks_root_path_envvar):
|
|||
|
||||
|
||||
def test_settings_from_non_existing_file_raises_value_error():
|
||||
with pytest.raises(ValueError, match="field required"):
|
||||
with pytest.raises(ValueError, match="Field required"):
|
||||
Settings() # type: ignore[call-arg]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue