We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 577ca8e commit 4d13cd7Copy full SHA for 4d13cd7
tests/test_multi_source.py
@@ -4,8 +4,8 @@
4
5
from typing import Tuple, Type, Union
6
7
-from pydantic import BaseModel, ValidationError
8
import pytest
+from pydantic import BaseModel, ValidationError
9
10
from pydantic_settings import (
11
BaseSettings,
@@ -14,6 +14,7 @@
14
SettingsConfigDict,
15
)
16
17
+
18
def test_line_errors_from_source(monkeypatch, tmp_path):
19
monkeypatch.setenv('SETTINGS_NESTED__NESTED_FIELD', 'a')
20
p = tmp_path / 'settings.json'
tests/test_settings.py
@@ -44,7 +44,7 @@
44
NoDecode,
45
PydanticBaseSettingsSource,
46
SecretsSettingsSource,
47
- SettingsConfigDict
+ SettingsConfigDict,
48
49
from pydantic_settings.sources import DefaultSettingsSource, SettingsError
50
0 commit comments