Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Jul 20, 2023
1 parent 26a2508 commit e686380
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 @@ -103,8 +103,8 @@ def test_settings_global(test_client_factory):

assert client.app.app_name == "my app"
assert settings.app_name == "test_client"
assert request_settings.model_dump_json()["global_settings"] == "test_client"
assert app_settings.model_dump_json() == "test_client"
assert request_settings.json()["global_settings"] == "test_client"
assert app_settings.json() == "test_client"


def test_settings_global_without_parameters(test_client_factory):
Expand All @@ -117,8 +117,8 @@ def test_settings_global_without_parameters(test_client_factory):

assert settings.app_name == "test_client"
assert client.app.app_name == "test_client"
assert request_settings.model_dump_json()["global_settings"] == "test_client"
assert app_settings.model_dump_json() == "test_client"
assert request_settings.json()["global_settings"] == "test_client"
assert app_settings.json() == "test_client"


def test_inner_settings_config(test_client_factory):
Expand Down

0 comments on commit e686380

Please sign in to comment.