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

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

Build:
Build:
LAST BUILD BRANCH: bk-add-boolean
DEFAULT BRANCH: master
Ran 03 Nov 2016 12:34PM UTC
Files 8
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 Nov 2016 12:32PM UTC coverage: 98.322% (-1.1%) from 99.452%
80.1

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.

586 of 596 relevant lines covered (98.32%)

0.98 hits per line

Source Files on job 80.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 80
  • Travis Job 80.1
  • c20db72f on github
  • Prev Job for on content-templating (#78.1)
  • Next Job for on content-templating (#84.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