From 2526d43a98c899f9742228e31ffb0e2c1a1c115d Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Thu, 8 Aug 2024 10:50:32 +0200 Subject: [PATCH] More tests See what happens with a character that will url decode to longer --- tests/compose/core/00_create_users.sh | 2 +- tests/compose/core/05_connectivity.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/compose/core/00_create_users.sh b/tests/compose/core/00_create_users.sh index 3832c03b..0bed6baf 100755 --- a/tests/compose/core/00_create_users.sh +++ b/tests/compose/core/00_create_users.sh @@ -8,5 +8,5 @@ docker compose -f tests/compose/core/docker-compose.yml exec -T admin flask mail docker compose -f tests/compose/core/docker-compose.yml exec -T admin flask mailu admin admin mailu.io 'password' --mode=update || exit 1 docker compose -f tests/compose/core/docker-compose.yml exec -T admin flask mailu user user mailu.io 'password' || exit 1 docker compose -f tests/compose/core/docker-compose.yml exec -T admin flask mailu user 'user/with/slash' mailu.io 'password' || exit 1 -docker compose -f tests/compose/core/docker-compose.yml exec -T admin flask mailu user 'user_UTF8' mailu.io 'pass%e9word€' || exit 1 +docker compose -f tests/compose/core/docker-compose.yml exec -T admin flask mailu user 'user_UTF8' mailu.io 'pa…ss%e9word€' || exit 1 echo "User testing successful!" diff --git a/tests/compose/core/05_connectivity.py b/tests/compose/core/05_connectivity.py index 6ae62487..44bb4553 100755 --- a/tests/compose/core/05_connectivity.py +++ b/tests/compose/core/05_connectivity.py @@ -8,7 +8,7 @@ import managesieve SERVER='localhost' USERNAME='user_UTF8@mailu.io' -PASSWORD='pass%e9word€' +PASSWORD='pa…ss%e9word€' #https://github.com/python/cpython/issues/73936 #SMTPlib does not support UTF8 passwords. USERNAME_ASCII='user@mailu.io'