Projet

Général

Profil

« Précédent | Suivant » 

Révision 03d50b9b

Ajouté par Frédéric Péters il y a environ 9 ans

tests: adapt to changes in declaration of extra modules (follow-up #6654)

Voir les différences:

tests/utilities.py
19 19
    publisher.WcsPublisher.APP_DIR = APP_DIR
20 20
    publisher.WcsPublisher.DATA_DIR = os.path.abspath(
21 21
            os.path.join(os.path.dirname(wcs.__file__), '..', 'data'))
22
    publisher.WcsPublisher.configure(config,
23
            extra=[os.path.join(os.path.dirname(__file__), '..', 'extra')])
22
    config.add_section('extra')
23
    config.set('extra', 'auquotidien', os.path.join(os.path.dirname(__file__), '..', 'extra'))
24
    publisher.WcsPublisher.configure(config)
24 25
    pub = publisher.WcsPublisher.create_publisher()
25 26
    # allow saving the user
26 27
    pub.app_dir = os.path.join(APP_DIR, 'example.net')

Formats disponibles : Unified diff