pulp_smash.pulp2.constants¶
Location: Pulp Smash → API Documentation → pulp_smash.pulp2.constants
Constants for Pulp 2 tests.
-
pulp_smash.pulp2.constants.CALL_REPORT_KEYS= frozenset({'result', 'error', 'spawned_tasks'})¶ 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/'¶
-
pulp_smash.pulp2.constants.ERROR_KEYS= frozenset({'exception', 'http_status', '_href', 'error_message', 'error', 'traceback'})¶ See: Exception Handling.
No
hreffield should be present. See Issue #1310.
-
pulp_smash.pulp2.constants.GROUP_CALL_REPORT_KEYS= frozenset({'group_id', '_href'})¶ See: Group Call Report.
-
pulp_smash.pulp2.constants.LOGIN_KEYS= frozenset({'key', 'certificate'})¶ 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/'¶
-
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_idto export a repository.See: Export Distributors.
-
pulp_smash.pulp2.constants.REPOSITORY_GROUP_EXPORT_DISTRIBUTOR= 'group_export_distributor'¶ A
distributor_type_idto export a repository group.See: Export Distributors.
-
pulp_smash.pulp2.constants.REPOSITORY_GROUP_PATH= '/pulp/api/v2/repo_groups/'¶
-
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.