From caa19bb3a490f1e8d70146033d545c3b52ff510b Mon Sep 17 00:00:00 2001 From: calexandr Date: Fri, 10 Jan 2020 15:14:40 +0200 Subject: [PATCH] [#2838] change logic in create_user>create func to create user with unique email --- ckan/tests/legacy/logic/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/tests/legacy/logic/test_auth.py b/ckan/tests/legacy/logic/test_auth.py index 6a3a0c13681..7d275936ef6 100644 --- a/ckan/tests/legacy/logic/test_auth.py +++ b/ckan/tests/legacy/logic/test_auth.py @@ -65,7 +65,7 @@ def create(name): user = { "name": name, "password": "TestPassword1", - "email": "moo@moo.com", + "email": "{}@moo.com".format(name), } res = call_api("user_create", user, "sysadmin", 200) apikeys[name] = str(json.loads(res.body)["result"]["apikey"])