Project

Profile

Help

Test #4975

closed

Docker - Test if creating duplicate content results in 400

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

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

Description

Ticket moved to GitHub: "pulp/pulpcore/1838":https://github.com/pulp/pulpcore/issues/1838


  • 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