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

PulpQE / pulp-smash / 406
63%

Build:
DEFAULT BRANCH: master
Ran 31 Mar 2016 07:45PM UTC
Jobs 4
Files 6
Run time 33s
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
406

push

travis-ci

Ichimonji10
Update new OSTree distributor tests

Make at least the following changes:

* Rename class `CreateDistributors` to `CreateDistributorsTestCase`. Do
  likewise for class `UpdateDistributors`.
* Rewrite the docstrings on both classes.
* Expand the kinds of inputs fed to Pulp, and randomize the inputs
  instead of using hard-coded values. Update assertions accordingly.
* Make class `UpdateDistributorsTestCase` create two repositories, not
  three. There was no apparent use for the third repository.
* Ensure the assertions in each test case are unique. For example, only
  `CreateDistributorsTestCase` now makes assertions about the status
  code returned by Pulp when creating a distributor, instead of both
  test cases.
* Rewrite the exact implementation of both test cases. For example,
  given a collection of homogeneous responses, place them in a list
  instead of creating one variable for each.
* Move test skipping logic from `setUpClass` methods into test methods.
  Though these test cases trigger https://pulp.plan.io/issues/1106, much
  of their logic is valid on existing Pulp systems. Skipping only the
  known-failing assertions lets us exercise those working parts of Pulp.
  It also gives greater assurance that these new test cases will work
  correctly when the Pulp issue is fixed.

All relevant tests still pass, though the number of assertions changes.
Test results generated with:

    python -m unittest2 pulp-smash.tests.ostree.api_v2.test_crud

302 of 411 relevant lines covered (73.48%)

2.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 406.1 31 Mar 2016 07:45PM UTC 0
73.48
Travis Job 406.1
2 406.2 31 Mar 2016 07:46PM UTC 0
73.48
Travis Job 406.2
3 406.3 31 Mar 2016 07:46PM UTC 0
73.48
Travis Job 406.3
4 406.4 31 Mar 2016 07:45PM UTC 0
73.48
Travis Job 406.4
Source Files on build 406
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #406
  • 1316c17f on github
  • Prev Build on master (#404)
  • Next Build on master (#408)
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