pulp_2_tests.tests.docker.api_v2.test_sync¶
Location: Pulp 2 Tests → Tests → pulp_2_tests.tests.docker.api_v2.test_sync
Tests that sync docker repositories.
-
class
pulp_2_tests.tests.docker.api_v2.test_sync.
UpstreamNameTestCase
(methodName='runTest')¶ Bases:
unittest.case.TestCase
Sync v2 and Docker repositories with varying
upstream_name
.-
classmethod
setUpClass
()¶ Create shared variables.
-
test_v2_valid_upstream_name
()¶ Sync a v2 Docker repository with a valid
upstream_name
.Do the following:
- Create a v2 Docker repository.
- Sync the repository with a valid upstream name, and assert it succeeds.
In addition, verify its
last_override_config
attribute is an empty dict after each step.
-
classmethod
-
pulp_2_tests.tests.docker.api_v2.test_sync.
setUpModule
()¶ Skip tests on Pulp versions lower than 2.8.