Skip to content

Commit 5f4877a

Browse files
committed
Fix tests
1 parent 0aef6e4 commit 5f4877a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/conftest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ def set_environ(key: str, value: str) -> str:
3030
"TEST_LOGIN_REMEMBER_ME_COOKIE",
3131
"1234567fedcba9876543210fedcba9876543210",
3232
)
33+
set_environ(
34+
"TEST_LOGIN_REMEMBER_ME_COOKIE_{0.major}{0.minor}".format(
35+
sys.version_info
36+
),
37+
"1234567fedcba9876543210fedcba9876543210",
38+
)
3339

3440
set_environ("TEST_CODINGAMER_ID", "1234567")
3541
set_environ("TEST_CODINGAMER_PSEUDO", "Pseudo123")

0 commit comments

Comments
 (0)