Project

Profile

Help

Test #4846

Test #4838: [Epic] Test Distribution and AutoDistribution features from core

CRUD RepositoryVersionDistribution

Added by bmbouter 2 days ago. Updated 2 days ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Tags:
Sprint:

Description

The RepositoryVersionDistribution is designed to be subclassed and can't be fully tested unless it is subclassed. Thus, the recommended way to test core's functionality is to test it using the AnsibleDistribution from pulp_ansible.

CRUD the PulpDistributor.

1. Create a repo and repo_version with at least 1 file content in it.
2. Create a AnsibleDistribution with 'repository' field set to the repository from step 1. Verify it accepts it.
3. Update the AnsibleDistribution to unset 'repository' and set 'repository_version'. Verify it accepts it.
4. Update the AnsibleDistribution to set both 'repository' and 'repository_version' and verify it rejects it. These options cannot be used together

History

#1 Updated by bmbouter 2 days ago

  • Parent task set to #4838

Please register to edit this issue

Also available in: Atom PDF