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

PulpQE / pulp-smash / 170 / 4
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2016 09:31PM UTC
Files 3
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

12 Jan 2016 09:20PM UTC coverage: 76.444%. Remained the same
170.4

push

travis-ci

Ichimonji10
Refactor Puppet repository API tests

Refactor module `pulp_smash.tests.puppet.api_v2.test_sync_publish` to use the
new `pulp_smash.api.Client` API client. Doing this makes the module more
readable and concise. As a result of test suite refactoring, the number of
assertions has dropped. Despite this, coverage has actually expanded.
Specifically:

* The `test_task_error` and `test_task_traceback` tests have been combined, both
  in `SyncValidFeedTestCase` and `SyncInvalidFeedTestCase`.
* The total number of tests in `PublishTestCase` has increased by one.

Test suite results before this commit (22 and 13 tests, respectively):

    ============  ==================
    Pulp Version  Test Suite Results
    ============  ==================
    2.7           OK
    dev (2.8)     FAILED (errors=1)
    ============  ==================

After this commit (21 and 11 tests, respectively):

    ============  ==================
    Pulp Version  Test Suite Results
    ============  ==================
    2.7           OK
    dev (2.8)     FAILED (errors=1)
    ============  ==================

Test results obtained with:

    PULP_SMASH_CONFIG_FILE=$PS_CONFIG \
    python -m unittest2 pulp_smash.tests.puppet.api_v2.test_sync_publish

Related to #64.

Note that a test is failing both before and after thsi commit. This commit does
not address the failing test in any way, but the change in test structure should
make it easier to diagnose why the test is failing and finally create a bug
report.

172 of 225 relevant lines covered (76.44%)

0.76 hits per line

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