Skip to content

Commit 5bb46cf

Browse files
committed
Lint.
1 parent f7585ec commit 5bb46cf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/test_settings.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -670,10 +670,7 @@ class Example(BaseSettings):
670670
last_name: str = Field(validation_alias=AliasChoices('PREFIX_LAST_NAME', 'PREFIX_SURNAME'))
671671

672672
env.set('PREFIX_SURNAME', 'smith')
673-
assert Example(name='john', PREFIX_SURNAME='doe').model_dump() == {
674-
'name': 'john',
675-
'last_name': 'doe'
676-
}
673+
assert Example(name='john', PREFIX_SURNAME='doe').model_dump() == {'name': 'john', 'last_name': 'doe'}
677674

678675

679676
def test_alias_nested_model_default_partial_update():

0 commit comments

Comments
 (0)