- allow the language attribute on the user to be updated via API - add frontend function to update the user language via API - extend defaults on the test users, to have fixed language in E2E tests - extend types and variables using the types with the new field
19 lines
543 B
Python
19 lines
543 B
Python
"""Parameters that define how the demo site will be built."""
|
|
|
|
NB_OBJECTS = {
|
|
"users": 50,
|
|
"docs": 50,
|
|
"max_users_per_document": 50,
|
|
}
|
|
|
|
DEV_USERS = [
|
|
{"username": "impress", "email": "impress@impress.world", "language": "en-us"},
|
|
{"username": "user-e2e-webkit", "email": "user@webkit.e2e", "language": "en-us"},
|
|
{"username": "user-e2e-firefox", "email": "user@firefox.e2e", "language": "en-us"},
|
|
{
|
|
"username": "user-e2e-chromium",
|
|
"email": "user@chromium.e2e",
|
|
"language": "en-us",
|
|
},
|
|
]
|