Project

Profile

Help

Test #4125

closed

Test if creating duplicate content results in 400

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

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

Description

  • Evaluate if we already have similar tests in place.
  • Create duplicate content
  • Assert that an HTTP Bad Request - 400 was raised
  • Assert that an error (e.g. "There is already a file content unit with relativepath 'foo.tar.gz' and artifact '/pulp/api/v3/artifacts/1/'.") is returned

Related issues

Related to File Support - Issue #3436: Creating duplicate content results in 500 IntegrityErrorCLOSED - CURRENTRELEASEdaviddavisActions
Copied to Pulp - Test #4975: Docker - Test if creating duplicate content results in 400 CLOSED - DUPLICATEActions
Copied to Ansible Plugin - Test #4976: Collection - Test if creating duplicate content results in 400 CLOSED - WONTFIXActions

Also available in: Atom PDF