tests: Remove create-user from curl test exclude_list.

The API test client uses an admin client since
0f64fe530667fd3b96a434842b124075dea84300
This commit is contained in:
Vishnu Ks
2019-11-18 03:57:21 +00:00
committed by Tim Abbott
parent 0f582dfe1f
commit a478e861a2
2 changed files with 6 additions and 1 deletions

View File

@@ -150,6 +150,12 @@ def get_user_presence() -> Dict[None, None]:
update_user_presence(iago, client, timezone_now(), UserPresence.ACTIVE, False)
return {}
@openapi_param_value_generator(["/users:post"])
def create_user() -> Dict[str, str]:
return {
"email": helpers.nonreg_email("test")
}
@openapi_param_value_generator(["/user_groups/create:post"])
def create_user_group_data() -> Dict[str, Any]:
return {