Skip to content

Commit e1ce3c9

Browse files
committed
Updated unit tests accordingly
1 parent 3c042df commit e1ce3c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/models/config/test_cors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def test_cors_improper_configuration() -> None:
6464
"""Test the CORS configuration."""
6565
expected = (
6666
"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."
67+
+ "allow_credentials can not be set to true when allow origins contains the '\\*' wildcard."
68+
+ "Use explicit origins or disable credentials."
6969
)
7070

7171
with pytest.raises(ValueError, match=expected):

0 commit comments

Comments
 (0)