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

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

Build:
DEFAULT BRANCH: master
Ran 08 Mar 2017 02:34AM 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

08 Mar 2017 04:31AM UTC coverage: 62.783%. Remained the same
1374.2

push

travis-ci

Ichimonji10
Rewrite test that updates updateinfo.xml

Class `ErratumPkgListCountTestCase` does the following:

1. Create and sync an RPM repository with a feed and distributor.
2. Unassociate the "gorilla" package from the repository.
3. Publish the repository.

It then verifies that the published repository's `updateinfo.xml` file
is valid. Unfortunately, this test recently broke, primarily because of
the changes implemented for Pulp issue 2559: errata are omitted if they
don't reference any packages, or if they reference packages not in the
currently published repository. In this case, an erratum that references
the "gorilla" erratum is now being omitted, which broke the test.

Update the test case:

* Make the test case comply with the changes outlined in Pulp issue
  2559.
* Make the test clean up after itself even when an error occurs during
  test case set-up.
* Rename the test case to `UpdateRepoTestCase`, and modify its logic.

The test case now does the following:

1. Create, sync and publish an RPM repository with a feed and
   distributor.
2. Verify the repository's `updateinfo.xml` file.
3. Unassociate the "gorilla" package from the repository.
4. Verify the repository's `updateinfo.xml` file.

See:

* https://github.com/PulpQE/pulp-smash/issues/540
* https://github.com/PulpQE/pulp-smash/pull/574
* https://pulp.plan.io/issues/2559

388 of 618 relevant lines covered (62.78%)

0.63 hits per line

Source Files on job 1374.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1374
  • Travis Job 1374.2
  • 9bd4aec7 on github
  • Prev Job for on master (#1372.2)
  • Next Job for on master (#1376.2)
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