From 1f13676d06717dbaa38530df0e4430d476be6f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 7 Dec 2018 23:14:57 +0100 Subject: [PATCH] Fix LDAP authenticator after backup --- src/yunohost/tests/test_changeurl.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/yunohost/tests/test_changeurl.py b/src/yunohost/tests/test_changeurl.py index 737b68a6d..36d8028c9 100644 --- a/src/yunohost/tests/test_changeurl.py +++ b/src/yunohost/tests/test_changeurl.py @@ -19,8 +19,10 @@ maindomain = _get_maindomain() def setup_function(function): - pass - + # For some reason the nginx reload can take some time to propagate + time.sleep(1) + global auth + auth = init_authenticator(AUTH_IDENTIFIER, AUTH_PARAMETERS) def teardown_function(function): app_remove(auth, "change_url_app")