Resources should have unique names
nixocio opened this issue · 0 comments
nixocio commented
In Pulp 3 resources that have the attribute name
should be unique. For instance, if a distribution is created with name
foo, it is not allowed to create another distribution with the same name.
resources = 'distributions', 'publishers', 'remotes', 'repositories'
- Create a resource.
- Use the
name
of previous create resource to create a new resource. - Assert that an HTTP error was raised.
Related issue: https://pulp.plan.io/issues/3748