From 775d3b190bef97aca5a450874dc3d17fea25c48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 2 Apr 2020 21:54:08 +0200 Subject: [PATCH] tests: declare missing attributes when mocking known_services (#41286) --- tests/test_contacts_manager.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_contacts_manager.py b/tests/test_contacts_manager.py index 203395d..ad72049 100644 --- a/tests/test_contacts_manager.py +++ b/tests/test_contacts_manager.py @@ -69,6 +69,8 @@ def test_search_json_view(settings, app, user, mail_group): 'wcs': { 'demarches': { 'url': 'http://wcs.example.net/', + 'orig': 'http://welco.example.net/', + 'secret': 'xxx', } } } @@ -116,6 +118,8 @@ def test_contact_detail_fragment_view(settings, app, db): 'wcs': { 'demarches': { 'url': 'http://wcs.example.net/', + 'orig': 'http://welco.example.net/', + 'secret': 'xxx', } } } @@ -176,6 +180,8 @@ def test_post_contact_add_view(mocked_sleep, settings, app, db): 'wcs': { 'demarches': { 'url': 'http://wcs.example.net/', + 'orig': 'http://welco.example.net/', + 'secret': 'xxx', } } }