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

dhs-ncats / pshtt / 383 / 1
45%
master: 43%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 26 Oct 2017 02:45AM UTC
Files 5
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

26 Oct 2017 02:42AM UTC coverage: 42.857% (-1.4%) from 44.26%
383.1

push

travis-ci

IanLee1521
Fixes bugs where the globals are None

This is the case when these functions are called directly, and where the
`inspect_domains()` function is not used.

Currently these lists are defined only if `inspect_domains()` has been
called, which may not be the case when testing (e.g. in #28 / #125), or
when using pshtt as a library. The current solution is to raise an
exception if the initialize function is not called explicitly, which is
now its own function to handle initializing all the third party data.

This begins work towards a more complete solution for #99, and allows
for the initialize function to be mocked / called separately when
working in tests.

285 of 665 relevant lines covered (42.86%)

0.43 hits per line

Source Files on job 383.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 383
  • Travis Job 383.1
  • e6a4b17d on github
  • Prev Job for on default-globals (#380.4)
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