summaryrefslogtreecommitdiff
path: root/tests/test_auth_account.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_auth_account.py')
-rw-r--r--tests/test_auth_account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_auth_account.py b/tests/test_auth_account.py
index 68a407b..0e7e22d 100644
--- a/tests/test_auth_account.py
+++ b/tests/test_auth_account.py
@@ -298,7 +298,7 @@ def test_create_badinvite(client):
@pytest.mark.invite
def test_create_invite(client, mail_server):
# all in one test because restarting the server from python would be a pain
- c = client.create_account("test.account@test-auth", "", invite=os.environ['INVITE_CODE'])
+ c = client.create_account("test.account.invite@test-auth", "", invite=os.environ['INVITE_CODE'])
c2 = None
try:
invite = Invite(c.props['sessionToken'])
@@ -319,7 +319,7 @@ def test_create_invite(client, mail_server):
assert 'url' in code
code = code['url'].split('/')[-1]
# code allows registration
- c2 = client.create_account("test.account2@test-auth", "", invite=code)
+ c2 = client.create_account("test.account.invite2@test-auth", "", invite=code)
(to, body) = mail_server.wait()
data = json.loads(base64.urlsafe_b64decode(body.split("#/verify/", maxsplit=1)[1]).decode('utf8'))
c2.post_a('/recovery_email/verify_code', { 'uid': data['uid'], 'code': data['code'] })