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

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

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2016 08:07PM 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 Mar 2016 08:01PM UTC coverage: 71.939%. Remained the same
358.2

push

travis-ci

Ichimonji10
Rewrite new RPM API tests

Rewrite the newly added tests in the following modules:

* `pulp_smash.tests.rpm.api_v2.test_repomd`
* `pulp_smash.tests.rpm.api_v2.test_upateinfo`

Do the following:

* Add documentation stubs. Expand documentation.
* Make all tests pass under both Python 2 and 3.
* Change most of the helper methods on the new test cases into
  functions. Some of these helper methods contained assertions, which
  could no longer be present in the functions. In these cases, new
  `test_*` methods targeting these specific checks were added.
* Drop `BaseRepoMDTestCase`. (The functionality provided by this class
  was only taken advantage of in one child class, indicating that its
  reuse characteristics were questionable.)

This commit represents a significant re-write of the test code, and the
bullet points above are highlights. Consider reading the code before and
after for a fuller understanding of the changes.

Test results before this change:

    ======  ==========  ============================
    Python  Num. Tests  Results
    ======  ==========  ============================
    2.7     5           OK (skipped=1)
    3.5     5           FAILED (errors=1, skipped=1)
    ======  ==========  ============================

Test results after this change:

    ======  ==========  ==============
    Python  Num. Tests  Results
    ======  ==========  ==============
    2.7     11          OK (skipped=1)
    3.5     11          OK (skipped=1)
    ======  ==========  ==============

Test results generated with:

    python -m unittest2 \
        pulp-smash.tests.rpm.api_v2.test_{repomd,updateinfo}

282 of 392 relevant lines covered (71.94%)

0.72 hits per line

Source Files on job 358.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 358
  • Travis Job 358.2
  • 771c0b20 on github
  • Prev Job for on master (#356.2)
  • Next Job for on master (#361.3)
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