From 03d50b9b98ef893dcf2ce7a2264a25223f8c1532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 23 Mar 2015 08:40:52 +0100 Subject: [PATCH] tests: adapt to changes in declaration of extra modules (follow-up #6654) --- tests/utilities.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/utilities.py b/tests/utilities.py index 57c3cfa..5f7a06d 100644 --- a/tests/utilities.py +++ b/tests/utilities.py @@ -19,8 +19,9 @@ def create_temporary_pub(): publisher.WcsPublisher.APP_DIR = APP_DIR publisher.WcsPublisher.DATA_DIR = os.path.abspath( os.path.join(os.path.dirname(wcs.__file__), '..', 'data')) - publisher.WcsPublisher.configure(config, - extra=[os.path.join(os.path.dirname(__file__), '..', 'extra')]) + config.add_section('extra') + config.set('extra', 'auquotidien', os.path.join(os.path.dirname(__file__), '..', 'extra')) + publisher.WcsPublisher.configure(config) pub = publisher.WcsPublisher.create_publisher() # allow saving the user pub.app_dir = os.path.join(APP_DIR, 'example.net')