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')