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

PulpQE / pulp-smash / 708
63%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2016 04:37PM UTC
Jobs 4
Files 6
Run time 23s
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
708

push

travis-ci

Ichimonji10
Refactor DuplicateUploadsMixin base test case

The `DuplicateUploadsMixin` is designed to test the following procedure:

1. Create a repository without a feed.
2. Upload a package into the repository.
3. Upload the same package into the repository.

The class is currently designed such that the two uploads should occur
in method `setUpClass`.

Refactor the test case so that repository creation occurs in
`setUpClass` and the uploads occur in the test methods. This makes it
easier to tell which of the two uploads failed, and it ensures the class
always cleans up after itself.

This change doesn't affect test coverage or introduce any test failures.
It adds four new tests. Tests executed with:

    python -m unittest2 \
        pulp_smash.tests.docker.api_v2.test_duplicate_uploads \
        pulp_smash.tests.puppet.api_v2.test_duplicate_uploads \
        pulp_smash.tests.python.api_v2.test_duplicate_uploads \
        pulp_smash.tests.rpm.api_v2.test_duplicate_uploads

358 of 510 relevant lines covered (70.2%)

2.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 708.1 01 Jun 2016 04:37PM UTC 0
70.2
Travis Job 708.1
2 708.2 01 Jun 2016 04:37PM UTC 0
70.2
Travis Job 708.2
3 708.3 01 Jun 2016 04:37PM UTC 0
70.2
Travis Job 708.3
4 708.4 01 Jun 2016 04:37PM UTC 0
70.2
Travis Job 708.4
Source Files on build 708
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #708
  • f06c531e on github
  • Prev Build on master (#706)
  • Next Build on master (#709)
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