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

PulpQE / pulp-smash / 876 / 2
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2016 12:45PM 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

22 Jul 2016 12:26PM UTC coverage: 70.543%. Remained the same
876.2

push

travis-ci

Ichimonji10
Refactor newly-added DRPM upload tests

Do at least the following:

* Change `pulp_smash.constants.DRPM` so that it includes the full path
  to the DRPM file relative to `pulp_smash.constants.DRPM_FEED_URL`.
  This removes several magic strings from the codebase, and should make
  it easier to change the value of `DRPM` in the furure.
* Tweak the style of multi-line imports: make imports alphabetic, and
  place a trailing comma at the end of every line. This makes it easier
  to scan through imports, and it makes future diffs smaller.
* Rewrite docstrings. Move general test case descriptions into the test
  case docstrings, and move information about specific tests and
  assertions into test case methods. Drop duplicate URLs.
* Make code more compact. Drop extraneous whitespace, drop some
  single-use variables, etc.
* Change the structure of the CLI `UploadDrpmTestCase`. Instead of
  following the common pattern of placing the majority of business logic
  in `setUpClass` and `tearDownClass`, and assertion-specific logic in
  the test methods, move all test case logic into a single test method.
  This allows an excessive number of class variables to be dropped, and
  it allows the cleanup logic to be made much more resilient. It also
  allows an unnecessary upload and import to be dropped, which should
  lower test execution time.

364 of 516 relevant lines covered (70.54%)

0.71 hits per line

Source Files on job 876.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 876
  • Travis Job 876.2
  • 7cbb369f on github
  • Prev Job for on master (#869.2)
  • Next Job for on master (#884.2)
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