Skip to content

Commit

Permalink
Fixed settings test
Browse files Browse the repository at this point in the history
  • Loading branch information
cszsol committed Nov 20, 2024
1 parent 8a0bc33 commit 66b48bc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions swarm_copy_tests/app/test_main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
from swarm_copy.app.dependencies import get_settings
from swarm_copy.app.main import app


def test_settings_endpoint(app_client, dont_look_at_env_file):
settings = app.dependency_overrides[get_settings]()
def test_settings_endpoint(app_client, dont_look_at_env_file, settings):
response = app_client.get("/settings")

replace_secretstr = settings.model_dump()
Expand Down

0 comments on commit 66b48bc

Please sign in to comment.