admin: show the URL to configure in hobo (bis)
gitea/ants-hub/pipeline/head This commit looks good
Details
gitea/ants-hub/pipeline/head This commit looks good
Details
Fix tests.
This commit is contained in:
parent
f09f0b1ef7
commit
f3e91b384a
|
@ -50,9 +50,19 @@ class TestLogged:
|
|||
resp.form.set('notes', 'Penser à facturer.')
|
||||
resp = resp.form.submit('_save').follow()
|
||||
assert table_text(resp.pyquery('#result_list')) == [
|
||||
['', 'Nom', 'API key', 'Création', 'Dernière mise à jour'],
|
||||
['', 'Plateforme X', '01a5…', '3 avril 2023 12:14', '3 avril 2023 19:57'],
|
||||
['', 'Plateforme Y', 'aaaa…', '12 avril 2023 12:00', '12 avril 2023 12:00'],
|
||||
['', 'Nom', 'SETTING_CHRONO_ANTS_HUB_URL', 'Dernière mise à jour'],
|
||||
[
|
||||
'',
|
||||
'Plateforme X',
|
||||
'https://01a549058c1143ed98848ab79403ff99:@ants-hub.entrouvert.org/api/chrono/',
|
||||
'3 avril 2023 19:57',
|
||||
],
|
||||
[
|
||||
'',
|
||||
'Plateforme Y',
|
||||
'https://aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:@ants-hub.entrouvert.org/api/chrono/',
|
||||
'12 avril 2023 12:00',
|
||||
],
|
||||
]
|
||||
resp = resp.click('Plateforme Y', index=0)
|
||||
assert f'http://{"a" * 32}:@testserver/api/chrono/' in resp
|
||||
|
|
Loading…
Reference in New Issue