Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani committed Nov 14, 2023
1 parent 8b4f717 commit f4f0676
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,10 +608,10 @@ def settings_customise_sources(


def test_env_union_with_complex_subfields_parses_json(env):
class A(BaseSettings):
class A(BaseModel):
a: str

class B(BaseSettings):
class B(BaseModel):
b: int

class Settings(BaseSettings):
Expand All @@ -623,10 +623,10 @@ class Settings(BaseSettings):


def test_env_union_with_complex_subfields_parses_plain_if_json_fails(env):
class A(BaseSettings):
class A(BaseModel):
a: str

class B(BaseSettings):
class B(BaseModel):
b: int

class Settings(BaseSettings):
Expand Down

0 comments on commit f4f0676

Please sign in to comment.