Project

Profile

Help

Test #4854

closed

Test publication creation endpoint accepts either repository or repository_version

Added by kersom over 5 years ago. Updated over 5 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:
Quarter:

Description

Explore endpoint https://docs.pulpproject.org/en/3.0/nightly/restapi.html#operation/publications_file_file_create

When creating a publication either a repository or repository_version should be provided. Providing both at same time it will raise an exception.


Related issues

Related to Pulp - Test #4839: CRUD PublicationDistributionCLOSED - COMPLETEkersomActions
Related to Pulp - Test #4874: Test create a Publication using a Repository VersionCLOSED - COMPLETEkersomActions
Actions #1

Updated by kersom over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to kersom
Actions #2

Updated by kersom over 5 years ago

  • Related to Test #4839: CRUD PublicationDistribution added

Added by kersom over 5 years ago

Revision 16726e15 | View on GitHub

Assert HTTP raised when created publicaion with repo and repo_version

Add test to assert that an HTTP exception is raised when creating publication with repository and repository_version.

#4854

Actions #3

Updated by kersom over 5 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #4

Updated by kersom over 5 years ago

  • Status changed from MODIFIED to CLOSED - COMPLETE
Actions #5

Updated by kersom over 5 years ago

  • Related to Test #4874: Test create a Publication using a Repository Version added

Also available in: Atom PDF