Skip to content

Commit 7da1f23

Browse files
committed
style: format test_config.py with Black
1 parent 89d30d9 commit 7da1f23

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/unit/test_config.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ def test_cors_origins_list(self) -> None:
9898
# Test the cors_origins_list property directly with known default value
9999
settings = APISettings()
100100
# Default cors_origins is "http://localhost:3000,http://localhost:8080"
101-
assert settings.cors_origins_list == ["http://localhost:3000", "http://localhost:8080"]
101+
assert settings.cors_origins_list == [
102+
"http://localhost:3000",
103+
"http://localhost:8080",
104+
]
102105
# Test that the property correctly splits and strips
103106
assert all(isinstance(origin, str) for origin in settings.cors_origins_list)
104107
assert len(settings.cors_origins_list) == 2

0 commit comments

Comments
 (0)