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

PulpQE / pulp-smash / 1374
63%

Build:
DEFAULT BRANCH: master
Ran 08 Mar 2017 02:34AM UTC
Jobs 2
Files 6
Run time 24s
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
1374

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

1.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1374.1 08 Mar 2017 02:34AM UTC 0
62.78
Travis Job 1374.1
2 1374.2 08 Mar 2017 02:34AM UTC 0
62.78
Travis Job 1374.2
Source Files on build 1374
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1374
  • 9bd4aec7 on github
  • Prev Build on master (#1372)
  • Next Build on master (#1376)
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