• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

inveniosoftware / pytest-invenio / 52 / 2
96%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v1.4.0
DEFAULT BRANCH: master
Ran 04 Oct 2018 07:42AM UTC
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Oct 2018 07:55PM UTC coverage: 95.57%. First build
REQUIREMENTS=lowest

push

travis-ci

web-flow
<a href="https://github.com/inveniosoftware/pytest-invenio/commit/<a class=hub.com/inveniosoftware/pytest-invenio/commit/ee851c0c81340a86f024fc509c6f26bf0556bc57">ee851c0c8<a href="https://github.com/inveniosoftware/pytest-invenio/commit/ee851c0c81340a86f024fc509c6f26bf0556bc57">&quot;&gt;Fix default app config CSP value

After [this change in invenio-app](https://github.com/inveniosoftware/invenio-app/commit/</a><a class="double-link" href="https://github.com/inveniosoftware/pytest-invenio/commit/<a class="double-link" href="https://github.com/inveniosoftware/pytest-invenio/commit/1aa6bb95b94c77b79c8bbfd448582f68bf52a686">1aa6bb95b</a>">1aa6bb95b</a><a href="https://github.com/inveniosoftware/pytest-invenio/commit/ee851c0c81340a86f024fc509c6f26bf0556bc57">) the test app needs to init the `content_security_policy` dict value, otherwise it fails with:

```
if app.config[&#39;DEBUG&#39;]:
            app.config[&#39;APP_DEFAULT_SECURE_HEADERS&#39;][
&gt;               &#39;content_security_policy&#39;][&#39;default-src&#39;] += \
                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

Source Files on job 52.2 (REQUIREMENTS=lowest)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27
  • Travis Job 52.2
  • ee851c0c on github
  • Next Job for REQUIREMENTS=lowest on fix-content-security-policy (#58.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc