pulp_2_tests.tests.ostree.api_v2.test_sync

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

Tests that sync OSTree repositories.

class pulp_2_tests.tests.ostree.api_v2.test_sync.SyncInvalidBranchesTestCase(*args, **kwargs)

Bases: pulp_2_tests.tests.ostree.api_v2.test_sync._SyncMixin, pulp_2_tests.tests.ostree.api_v2.test_sync._SyncFailedMixin, pulp_2_tests.tests.ostree.api_v2.test_sync._SyncImportFailedMixin, pulp_smash.pulp2.utils.BaseAPITestCase

Create an OSTree repository with invalid branches and sync it.

classmethod setUpClass()

Create and sync an OSTree repository.

class pulp_2_tests.tests.ostree.api_v2.test_sync.SyncInvalidFeedTestCase(*args, **kwargs)

Bases: pulp_2_tests.tests.ostree.api_v2.test_sync._SyncMixin, pulp_2_tests.tests.ostree.api_v2.test_sync._SyncFailedMixin, pulp_2_tests.tests.ostree.api_v2.test_sync._SyncImportFailedMixin, pulp_smash.pulp2.utils.BaseAPITestCase

Create an OSTree repository with an invalid feed and sync it.

classmethod setUpClass()

Set cls.body.

class pulp_2_tests.tests.ostree.api_v2.test_sync.SyncMissingAttrsTestCase(*args, **kwargs)

Bases: pulp_2_tests.tests.ostree.api_v2.test_sync._SyncMixin, pulp_2_tests.tests.ostree.api_v2.test_sync._SyncFailedMixin, pulp_smash.pulp2.utils.BaseAPITestCase

Create an OSTree repository with no feed or branches and sync it.

classmethod setUpClass()

Create and sync an OSTree repository.

class pulp_2_tests.tests.ostree.api_v2.test_sync.SyncTestCase(*args, **kwargs)

Bases: pulp_2_tests.tests.ostree.api_v2.test_sync._SyncMixin, pulp_smash.pulp2.utils.BaseAPITestCase

Create an OSTree repository with a valid feed and branch, and sync it.

The sync should complete with no errors reported.

classmethod setUpClass()

Create an OSTree repository with a valid feed and branch.

test_task_progress_report()

Assert no task’s progress report contains error details.