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

PulpQE / pulp-smash / 358
63%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2016 08:07PM UTC
Jobs 4
Files 6
Run time 54s
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
358

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

2.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 358.1 22 Mar 2016 08:07PM UTC 0
71.94
Travis Job 358.1
2 358.2 22 Mar 2016 08:07PM UTC 0
71.94
Travis Job 358.2
3 358.3 22 Mar 2016 08:07PM UTC 0
71.94
Travis Job 358.3
4 358.4 22 Mar 2016 08:08PM UTC 0
71.94
Travis Job 358.4
Source Files on build 358
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #358
  • 771c0b20 on github
  • Prev Build on master (#356)
  • Next Build on master (#361)
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