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

PulpQE / pulp-smash / 170
63%

Build:
DEFAULT BRANCH: master
Ran 12 Jan 2016 09:31PM UTC
Jobs 4
Files 3
Run time 16s
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
170

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.

176 of 225 relevant lines covered (78.22%)

3.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 170.1 12 Jan 2016 09:31PM UTC 0
78.22
Travis Job 170.1
2 170.2 12 Jan 2016 09:31PM UTC 0
76.44
Travis Job 170.2
3 170.3 12 Jan 2016 09:31PM UTC 0
76.44
Travis Job 170.3
4 170.4 12 Jan 2016 09:31PM UTC 0
76.44
Travis Job 170.4
Source Files on build 170
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #170
  • 65951812 on github
  • Prev Build on master (#169)
  • Next Build on master (#171)
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