summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-04-02 19:54:08 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-04-03 06:26:20 (GMT)
commit775d3b190bef97aca5a450874dc3d17fea25c48b (patch)
tree390d153c56656cd237fdaf9f797e17e7f0c73da0
parentbf1864f324e5984bfb9014562ca2c44fdd2afe08 (diff)
downloadwelco-775d3b190bef97aca5a450874dc3d17fea25c48b.zip
welco-775d3b190bef97aca5a450874dc3d17fea25c48b.tar.gz
welco-775d3b190bef97aca5a450874dc3d17fea25c48b.tar.bz2
tests: declare missing attributes when mocking known_services (#41286)
-rw-r--r--tests/test_contacts_manager.py6
1 files changed, 6 insertions, 0 deletions
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',
}
}
}