tests: adapt to changes in declaration of extra modules (follow-up #6654)
This commit is contained in:
parent
1dee6055cb
commit
03d50b9b98
|
@ -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')
|
||||
|
|
Reference in New Issue