Test update download policy with invalid field
Download policy field was introduced with lazy sync.
1 - Create a remote without provided a download policy.
2 - Assert that download policy defaults to `immediate`.
3 - Update the download policy to a valid one other than `immediate`.
4 - Assert that download policy was update properly.
5 - Attempt to update the download policy to a non valid download policy.
6 - Assert that the download policy is equal to the one updated on step 4.
Broke the original assignment into 3 parts:
- Create a remote with no policy
- Following, updating to any policy to ensure that functions
- Attempting to add an invalid policy and ensure that doesn't work and retains the previous step setting.
Functioned on Pulp3. The `DOWNLOAD_POLICIES` were changed during the creation and will need to ensure these work on the latest build.
- Status changed from ASSIGNED to MODIFIED
Applied in changeset pulp_file:f9657e87e05cf0d7ac29b66608bb6321606e713b.
Please register to edit this issue