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

alphagov / digitalmarketplace-content-loader / 80
100%
master: 99%

Build:
Build:
LAST BUILD BRANCH: bk-add-boolean
DEFAULT BRANCH: master
Ran 03 Nov 2016 12:34PM UTC
Jobs 2
Files 8
Run time 51s
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
80

push

travis-ci

allait
Template all fields in content messages

In order to remove unsafe uses of `| markdown` filters we need to
add TemplateField support to content messages. Unfortunately,
unlike sections and questions messages don't have a common list of
templatable or HTML-safe attributes. In the existing messages we
have markdown fields in nested dictionaries and HTML tags within
lists of strings, which means that a predefined list of templatable
fields wouldn't really work.

Instead, we convert all fields into TemplateFields: string fields,
nested dictionary values and strings in list attributes.

This also removes support for the unused sub_key arguments since
we moved away from using compound keys.

57 of 57 new or added lines in 3 files covered. (100.0%)

586 of 596 relevant lines covered (98.32%)

1.97 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
100.0
dmcontent/messages.py
Jobs
ID Job ID Ran Files Coverage
1 80.1 03 Nov 2016 12:34PM UTC 0
98.32
Travis Job 80.1
2 80.2 03 Nov 2016 12:34PM UTC 0
98.32
Travis Job 80.2
Source Files on build 80
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #80
  • c20db72f on github
  • Prev Build on content-templating (#78)
  • Next Build on content-templating (#84)
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