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

PulpQE / pulp-smash / 387
63%

Build:
DEFAULT BRANCH: master
Ran 29 Mar 2016 06:29PM UTC
Jobs 4
Files 6
Run time 1min
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
387

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

2.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 387.1 29 Mar 2016 06:29PM UTC 0
73.22
Travis Job 387.1
2 387.2 29 Mar 2016 06:29PM UTC 0
73.22
Travis Job 387.2
3 387.3 29 Mar 2016 06:29PM UTC 0
73.22
Travis Job 387.3
4 387.4 29 Mar 2016 06:30PM UTC 0
73.22
Travis Job 387.4
Source Files on build 387
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #387
  • ff139988 on github
  • Prev Build on master (#384)
  • Next Build on master (#389)
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