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

PulpQE / pulp-smash / 206
63%

Build:
DEFAULT BRANCH: master
Ran 30 Jan 2016 01:44PM UTC
Jobs 4
Files 6
Run time 42s
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
206

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%)

3.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 206.1 30 Jan 2016 01:44PM UTC 0
78.57
Travis Job 206.1
2 206.2 30 Jan 2016 01:45PM UTC 0
76.86
Travis Job 206.2
3 206.3 30 Jan 2016 01:44PM UTC 0
76.86
Travis Job 206.3
4 206.4 30 Jan 2016 01:44PM UTC 0
76.86
Travis Job 206.4
Source Files on build 206
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #206
  • 31c954d0 on github
  • Prev Build on master (#205)
  • Next Build on master (#209)
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