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

PulpQE / pulp-smash / 1716
63%

Build:
DEFAULT BRANCH: master
Ran 02 Aug 2017 04:12PM UTC
Jobs 3
Files 7
Run time 17s
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
1716

push

travis-ci

Ichimonji10
Port and expand tests for copying between repos

The tests in module `pulp_smash.tests.cli.test_copy` verify that images,
tags and manifests can be copied between Docker repositories. There are
a few drawbacks to the current implementation:

* There is currently one test case for each type of content that can be
  copied. This is wasteful given that the test cases for copying tags
  and manifests both include the same set-up work.
* The code for determining which images, tags or manifests have been
  copied from one repository to another is fragile. The `pulp-admin`
  tool's output varies based on both the version of the tool (2.13
  changed things) and the type of content being copied.
* As of Pulp 2.14, manifest lists can be copied between repositories.
  There are no tests for this feature.

Drop these CLI tests, and replace them with corresponding API tests:

* There is now one test case that deals with all schema v1 content, and
  another that deals with all schema v2 content. This greatly reduces
  the amount of set-up work that must be done.
* The code for determining which content is in a repository now makes
  use of the API, which has a much more stable interface.
* There is now a test for copying manifest lists between repositories.

525 of 844 relevant lines covered (62.2%)

1.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1716.1 02 Aug 2017 04:12PM UTC 0
62.2
Travis Job 1716.1
2 1716.2 02 Aug 2017 04:12PM UTC 0
62.2
Travis Job 1716.2
3 1716.3 02 Aug 2017 04:12PM UTC 0
62.2
Travis Job 1716.3
Source Files on build 1716
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1716
  • 4a7eb542 on github
  • Prev Build on master (#1714)
  • Next Build on master (#1718)
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