Project

Profile

Help

Test #4976

closed

Collection - Test if creating duplicate content results in 400

Added by kersom almost 5 years ago. Updated about 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
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

Copied from Pulp - Test #4125: Test if creating duplicate content results in 400 CLOSED - COMPLETEkersomActions

Also available in: Atom PDF