pulp_2_tests.tests.rpm.api_v2.test_tasks

Location: Pulp 2 TestsTestspulp_2_tests.tests.rpm.api_v2.test_tasks

Verify that operations can be performed over Tasks.

For information on tasks operations, see REST API Task Management and Admin Client Tasks.

class pulp_2_tests.tests.rpm.api_v2.test_tasks.TasksOperationsTestCase(methodName='runTest')

Bases: unittest.case.TestCase

Perform different operations over tasks.

This test targets the following issues:

test_all()

Perform different operation over tasks.

Do the following:

  1. Create, sync and publish a repository.
  2. List current tasks.
  3. Search tasks.
  4. Polling a specific task progress.
  5. Delete finished tasks.
  6. Purge tasks.