mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
users: tests: functional: Leave no-language as final setting
- Whenever functional tests for user app are run, the tester user is left with the last language that is tested. This is a minor inconvenience. Fix this by adding no-language option to test at the end. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
399a132bac
commit
61d36e43fe
@ -10,6 +10,7 @@ from plinth.tests import functional
|
|||||||
scenarios('users.feature')
|
scenarios('users.feature')
|
||||||
|
|
||||||
_language_codes = {
|
_language_codes = {
|
||||||
|
'None': '',
|
||||||
'Deutsch': 'de',
|
'Deutsch': 'de',
|
||||||
'Nederlands': 'nl',
|
'Nederlands': 'nl',
|
||||||
'Português': 'pt',
|
'Português': 'pt',
|
||||||
@ -26,6 +27,7 @@ _language_codes = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_config_page_title_language_map = {
|
_config_page_title_language_map = {
|
||||||
|
'': 'General Configuration',
|
||||||
'da': 'Generel Konfiguration',
|
'da': 'Generel Konfiguration',
|
||||||
'de': 'Allgemeine Konfiguration',
|
'de': 'Allgemeine Konfiguration',
|
||||||
'es': 'Configuración general',
|
'es': 'Configuración general',
|
||||||
|
|||||||
@ -51,3 +51,4 @@ Scenario Outline: Change language
|
|||||||
| తెలుగు |
|
| తెలుగు |
|
||||||
| Türkçe |
|
| Türkçe |
|
||||||
| 简体中文 |
|
| 简体中文 |
|
||||||
|
| None |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user