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

PulpQE / pulp-smash / 387 / 3
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 29 Mar 2016 06:29PM 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

29 Mar 2016 06:14PM UTC coverage: 73.219%. Remained the same
387.3

push

travis-ci

Ichimonji10
Refactor newly added repository download tests

Add documentation stubs for module
`pulp_smash.tests.rpm.api_v2.test_download`. In addition, refactor the
module, with at least the following changes:

* Fix the broken link to the Pulp documentation in the module-wide
  docstring.
* Expand the docstring of `SyncDownloadTestCase.setUpClass`, and make it
  briefly explain all actions executed.
* Create a private `_is_root` function. (It may be advisable to move
  this function to `pulp_smash.utils`, as there are several other
  locations in Pulp Smash where an identical operation is performed.)
* Change a class-wide variable to a locally scoped variable.
* Generally fiddle with code with the intents of making code more
  compact, reducing the number of variables, etc.
* Rename constant `RPM_PATH` to `RPM_ABS_PATH`, to differentiate this
  constant from the other `*_PATH` constants identifying URL paths.

Test results do not change as a result of this commit. Test results
produced with the following command:

    python -m unittest2 pulp_smash.tests.rpm.api_v2.test_download

298 of 407 relevant lines covered (73.22%)

0.73 hits per line

Source Files on job 387.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 387
  • Travis Job 387.3
  • ff139988 on github
  • Prev Job for on master (#384.3)
  • Next Job for on master (#389.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