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

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

Build:
Build:
LAST BUILD BRANCH: bk-add-boolean
DEFAULT BRANCH: master
Ran 28 Oct 2016 02:48PM UTC
Files 7
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

28 Oct 2016 02:45PM UTC coverage: 99.436% (+0.2%) from 99.245%
69.1

push

travis-ci

pcraig3
Render TemplateFields on access in ContentSection

We used to prevent access to templatable fields before the
`/filter` method had been called (by checking the `_filtered`
flag).  Now, instead of rendering the fields when `.filter` is
called, we just capture the context and then render the fields
when the attribute is accessed.

This means that we don't need to iterate over/overwrite field
values in the `.filter` method since `__getattribute__` can
check the type when fields are accessed.
We can also avoid restricting access to templatable fields that
don't take any context variables since the templates render without
raising an error.

529 of 532 relevant lines covered (99.44%)

0.99 hits per line

Source Files on job 69.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 69
  • Travis Job 69.1
  • 8d1d3e3c on github
  • Prev Job for on content-templating (#68.1)
  • Next Job for on content-templating (#71.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