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

PulpQE / pulp-smash / 1716 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 02 Aug 2017 04:12PM UTC
Files 7
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

02 Aug 2017 02:49PM UTC coverage: 62.204%. Remained the same
1716.1

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

0.62 hits per line

Source Files on job 1716.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1716
  • Travis Job 1716.1
  • 4a7eb542 on github
  • Prev Job for on master (#1714.1)
  • Next Job for on master (#1718.1)
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