We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89d30d9 commit 7da1f23Copy full SHA for 7da1f23
1 file changed
tests/unit/test_config.py
@@ -98,7 +98,10 @@ def test_cors_origins_list(self) -> None:
98
# Test the cors_origins_list property directly with known default value
99
settings = APISettings()
100
# Default cors_origins is "http://localhost:3000,http://localhost:8080"
101
- assert settings.cors_origins_list == ["http://localhost:3000", "http://localhost:8080"]
+ assert settings.cors_origins_list == [
102
+ "http://localhost:3000",
103
+ "http://localhost:8080",
104
+ ]
105
# Test that the property correctly splits and strips
106
assert all(isinstance(origin, str) for origin in settings.cors_origins_list)
107
assert len(settings.cors_origins_list) == 2
0 commit comments