|
Ran
|
Files
4
|
Run time
0s
|
Badge
README BADGES
|
travis-ci
Fix default app config CSP value After [this change in invenio-app](https://github.com/inveniosoftware/invenio-app/commit/1aa6bb95b) the test app needs to init the `content_security_policy` dict value, otherwise it fails with: ``` if app.config['DEBUG']: app.config['APP_DEFAULT_SECURE_HEADERS'][ > 'content_security_policy']['default-src'] += \ flask_talisman_debug_mode E KeyError: 'content_security_policy' ../modules/invenio-app/invenio_app/ext.py:65: KeyError ```
151 of 158 relevant lines covered (95.57%)
0.96 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|