Project

Profile

Help

Issue #6863

Updated by dalley almost 4 years ago

Two tests in test_crud_remotes.py that check to make sure the user can't update a remote's include/exclude name specifier to an empty string are both failing.    The user is allowed to perform this illegal operation and Pulp does not give an error.    The name field in ProjectSpecifierSerializer should check that the updated name is not blank and raise an exception, but it doesn't.    Both tests are currently skipped to avoid them failing.   

 We should likely use this method from the requirements-parser library on PyPI to do this validation: https://requirements-parser.readthedocs.io/en/latest/lowlevel.html#requirements.requirement.Requirement.parse   

Back