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

PulpQE / pulp-smash / 206 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 30 Jan 2016 01:44PM UTC
Files 6
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

30 Jan 2016 01:44PM UTC coverage: 78.571% (+1.4%) from 77.143%
206.1

push

travis-ci

Ichimonji10
Refactor and test helper function

Refactor function `pulp_smash.config._get_config_file_path`. Make the function
calculate a set of paths just once instead of twice.

Update the wording of the exception raised by this function. Notably, this
function now states which paths are searched if it fails to find a file, so
there is no need to redundantly state the name of the file it is searching for.
Here's an example of how to trigger the exception and what the message looks
like:

    >>> from pulp_smash import config
    >>> cfg = config.ServerConfig().read()
    …
    pulp_smash.exceptions.ConfigFileNotFoundError: Pulp Smash is unable to find a configuration file. The following (XDG compliant) paths have been searched: /home/ichimonji10/.config/pulp_smash/settings.json

Add a test case for this function.

275 of 350 relevant lines covered (78.57%)

0.79 hits per line

Source Files on job 206.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 206
  • Travis Job 206.1
  • 31c954d0 on github
  • Prev Job for on master (#205.1)
  • Next Job for on master (#209.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

© 2025 Coveralls, Inc