We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c042df commit e1ce3c9Copy full SHA for e1ce3c9
tests/unit/models/config/test_cors.py
@@ -64,8 +64,8 @@ def test_cors_improper_configuration() -> None:
64
"""Test the CORS configuration."""
65
expected = (
66
"Value error, Invalid CORS configuration: "
67
- + "allow_credentials can not be set to true when allow origins contains '\\*' wildcard."
68
- + "Use explicit origins or disable credential."
+ + "allow_credentials can not be set to true when allow origins contains the '\\*' wildcard."
+ + "Use explicit origins or disable credentials."
69
)
70
71
with pytest.raises(ValueError, match=expected):
0 commit comments