Skip to content

Commit 40ce2d8

Browse files
committed
fix auth tests
1 parent 5635a89 commit 40ce2d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

server/Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ importlib-metadata = "==8.4.0" # https://github.com/pallets/flask/issues/4502
4141
typing_extensions = "==4.12.2"
4242
python-magic = "==0.4.27"
4343
click = "==8.2.0"
44+
regex = "==2025.11.3"
4445
# requirements for development on windows
4546
colorama = "==0.4.5"
46-
regex = "2025.11.3"
4747

4848
[dev-packages]
4949
pytest = "==8.3.2"

server/mergin/tests/test_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -937,12 +937,12 @@ def test_server_usage(client):
937937
("日人日本人", True), # non-ascii character
938938
("usér", True), # non-ascii character
939939
("user\\", False), # disallowed character
940-
("user\260", True), # non-ascii character (°)
940+
("user\260", False), # not letter character (°)
941941
("user|", False), # vertical bar
942942
("us er", False), # space in the middle
943943
("us,er", False), # comma
944944
("us—er", False), # dash
945-
("us'er", False), # apostrophe
945+
("us´er", False), # acute accent
946946
(" user", True), # starting with space (will be stripped)
947947
("us.er", True), # dot in the middle
948948
(".user", False), # starting with dot

0 commit comments

Comments
 (0)