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

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

Build:
Build:
LAST BUILD BRANCH: v1.4.0
DEFAULT BRANCH: master
Ran 03 Oct 2018 07:58PM UTC
Jobs 2
Files 4
Run time 703min
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

pending completion
52

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

1.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 52.1 (REQUIREMENTS=lowest) 03 Oct 2018 07:58PM UTC 0
95.57
Travis Job 52.1
2 52.2 (REQUIREMENTS=lowest) 04 Oct 2018 07:42AM UTC 0
95.57
Travis Job 52.2
Source Files on build 52
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #52
  • ee851c0c on github
  • Next Build on fix-content-security-policy (#58)
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