Skip to content

Commit 9d057e3

Browse files
committed
fix: .local tld not allowed for email addresses
1 parent 2f60bb0 commit 9d057e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_web.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def test_create_user_not_allowed_login(self) -> None:
288288
return None
289289
for login in ['login', 'user', 'username', 'help', 'test', 'about', 'administration', 'account']:
290290
user = self.client.create_user(name='test Name', login=login,
291-
organisation='test Organization', email='test@testorg.local')
291+
organisation='test Organization', email='test@testorg.com')
292292
self.assertEqual(user['message'], 'Username not allowed.')
293293

294294
def test_users_info(self) -> None:
@@ -330,7 +330,7 @@ def test_create_user_comment(self) -> None:
330330
return None
331331
self.client.set_apikey(self.admin_token)
332332
user = self.client.create_user(name='test Name', login='alan',
333-
organisation='test Organization', email='test@testorg.local')
333+
organisation='test Organization', email='test@testorg.com')
334334
self.assertTrue(user)
335335
self.assertTrue('id' in user, user)
336336
uid = user['id']

0 commit comments

Comments
 (0)