pulp_smash.tests.ostree.api_v2.test_sync

Location: Pulp SmashAPI Documentationpulp_smash.tests.ostree.api_v2.test_sync

Tests that sync OSTree repositories.

This module assumes that the tests in pulp_smash.tests.platform.api_v2.test_repository and pulp_smash.tests.ostree.api_v2.test_crud hold true. The following trees of assumptions are explored in this module:

It is possible to create an OSTree repo with feed (test_crud).
├── When a valid feed and branch are given the repo syncs successfully
│   without reporting errors (CreateValidFeedTestCase).
└── When an invalid feed or branch is given, repo syncs fail and errors are
    reported (SyncInvalidFeedTestCase).

It is possible to create a repository without a feed (test_crud).
└── Running sync on this repository fails with errors reported
    (SyncWithoutFeedTestCase).
class pulp_smash.tests.ostree.api_v2.test_sync.SyncInvalidBranchesTestCase(methodName='runTest')

Create an OSTree repository with invalid branches and sync it.

classmethod setUpClass()

Create and sync an OSTree repository.

class pulp_smash.tests.ostree.api_v2.test_sync.SyncInvalidFeedTestCase(methodName='runTest')

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

classmethod setUpClass()

Set cls.body.

class pulp_smash.tests.ostree.api_v2.test_sync.SyncMissingAttrsTestCase(methodName='runTest')

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

classmethod setUpClass()

Create and sync an OSTree repository.

class pulp_smash.tests.ostree.api_v2.test_sync.SyncTestCase(methodName='runTest')

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.