Fix regexp for ICS id validation
Validation worked in the models because fullmatch is used but in the Regexp validators from wtforms, only match is called. The form validator didn't catch "AAA1100". Test added for this. JIRA INFRA-1569 #action In Progress
Showing
- app/inventory/forms.py 4 additions, 1 deletionapp/inventory/forms.py
- app/validators.py 1 addition, 1 deletionapp/validators.py
- tests/functional/test_models.py 7 additions, 0 deletionstests/functional/test_models.py
- tests/functional/test_web.py 14 additions, 0 deletionstests/functional/test_web.py
Please register or sign in to comment