pulp_smash.pulp2.constants

Location: Pulp SmashAPI Documentationpulp_smash.pulp2.constants

Constants for Pulp 2 tests.

pulp_smash.pulp2.constants.CALL_REPORT_KEYS = frozenset({'result', 'spawned_tasks', 'error'})

See: Call Report.

pulp_smash.pulp2.constants.CONSUMERS_ACTIONS_CONTENT_REGENERATE_APPLICABILITY_PATH = '/pulp/api/v2/consumers/actions/content/regenerate_applicability/'

See: Content Applicability.

pulp_smash.pulp2.constants.CONSUMERS_CONTENT_APPLICABILITY_PATH = '/pulp/api/v2/consumers/content/applicability/'

See: Content Applicability.

pulp_smash.pulp2.constants.CONSUMERS_PATH = '/pulp/api/v2/consumers/'

See: Consumer APIs.

pulp_smash.pulp2.constants.CONTENT_SOURCES_PATH = '/etc/pulp/content/sources/conf.d'

See: Content Sources.

pulp_smash.pulp2.constants.CONTENT_UNITS_PATH = '/pulp/api/v2/content/units/'

See: Search for Units.

pulp_smash.pulp2.constants.CONTENT_UPLOAD_PATH = '/pulp/api/v2/content/uploads/'

See: Creating an Upload Request.

pulp_smash.pulp2.constants.ERROR_KEYS = frozenset({'traceback', 'error', 'exception', 'error_message', 'http_status', '_href'})

See: Exception Handling.

No href field should be present. See Issue #1310.

pulp_smash.pulp2.constants.GROUP_CALL_REPORT_KEYS = frozenset({'_href', 'group_id'})

See: Group Call Report.

pulp_smash.pulp2.constants.LOGIN_KEYS = frozenset({'certificate', 'key'})

See: User Certificates.

pulp_smash.pulp2.constants.LOGIN_PATH = '/pulp/api/v2/actions/login/'

See: Authentication.

pulp_smash.pulp2.constants.ORPHANS_PATH = 'pulp/api/v2/content/orphans/'

See: Orphaned Content.

pulp_smash.pulp2.constants.PLUGIN_TYPES_PATH = '/pulp/api/v2/plugins/types/'

See: Retrieve All Content Unit Types.

pulp_smash.pulp2.constants.PULP_SERVICES = {'httpd', 'pulp_celerybeat', 'pulp_resource_manager', 'pulp_workers'}

Core Pulp services.

There are services beyond just these that Pulp depends on in order to function correctly. For example, an AMQP broker such as RabbitMQ or Qpid is integral to Pulp’s functioning. However, if resetting Pulp (such as in pulp_smash.pulp2.utils.reset_pulp()), this is the set of services that should be restarted.

pulp_smash.pulp2.constants.REPOSITORY_EXPORT_DISTRIBUTOR = 'export_distributor'

A distributor_type_id to export a repository.

See: Export Distributors.

pulp_smash.pulp2.constants.REPOSITORY_GROUP_EXPORT_DISTRIBUTOR = 'group_export_distributor'

A distributor_type_id to export a repository group.

See: Export Distributors.

pulp_smash.pulp2.constants.REPOSITORY_GROUP_PATH = '/pulp/api/v2/repo_groups/'

See: Repository Group APIs

pulp_smash.pulp2.constants.REPOSITORY_PATH = '/pulp/api/v2/repositories/'

See: Repository APIs.

pulp_smash.pulp2.constants.TASKS_PATH = '/pulp/api/v2/tasks/'

See: Tasks APIs.

pulp_smash.pulp2.constants.USER_PATH = '/pulp/api/v2/users/'

See: User APIs.