pulp_2_tests.tests.ostree.api_v2.test_copy

Location: Pulp 2 TestsTestspulp_2_tests.tests.ostree.api_v2.test_copy

Tests that copy content between OSTree repositories.

class pulp_2_tests.tests.ostree.api_v2.test_copy.FilterTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Copy content between OSTree repositories with a filter.

test_all()

Copy content between OSTree repositories with a filter.

Do the following:

  1. Create a pair of repositories, and populate the first.
  2. Randomly select a unit from the first repository, and copy it to the second repository.
  3. Verify that the selected unit is the only one in the second repository.