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

isislovecruft / bridgedb / 1117
91%

Build:
DEFAULT BRANCH: develop
Ran 04 Jun 2015 07:53AM UTC
Jobs 3
Files 37
Run time 53s
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
1117

push

travis-ci

isislovecruft
Minor cleanup for htmlify_string() from commits faf48983 and ccb3b8d1.

First, we don't need the bridgedb.util.htmlify_string() function, since
Mako provides syntax for "piping" content about to be written to the
page through filters [0] and it even provides a HTML-escaping function
(by default, it uses markupsafe.escape).

Second, we do actually need to remove control characters (at the very
least, but since technically we're parsing unicode… removing all
escape/control characters isn't actually feasible) from bridge lines.

 * REMOVE bridgedb.util.htmlify_string().
 * CHANGE lib/bridgedb/templates/bridges.html to use Mako's builtin text
   filtering syntax and functions for replacing HTML token characters
   with their corresponding HTML special characters.
 * ADD bridgedb.util.replaceControlChars().
 * ADD unittests to ensure that everything is escaped properly.

[0]: http://docs.makotemplates.org/en/latest/filtering.html

3588 of 4381 relevant lines covered (81.9%)

2.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1117.1 (TWISTED_VERSION=13.2.0 PYOPENSSL_VERSION=0.13.1) 04 Jun 2015 07:53AM UTC 0
81.65
Travis Job 1117.1
2 1117.2 (TWISTED_VERSION=14.0.2 PYOPENSSL_VERSION=0.14) 04 Jun 2015 07:53AM UTC 0
81.81
Travis Job 1117.2
3 1117.3 (TWISTED_VERSION=15.0.0 PYOPENSSL_VERSION=0.14) 04 Jun 2015 07:53AM UTC 0
81.81
Travis Job 1117.3
Source Files on build 1117
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1117
  • 0b625263 on github
  • Prev Build on develop (#1114)
  • Next Build on develop (#1130)
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