Add tag and device type validation
Tags and device_types are used as key in Ansible roles. They shouldn't contain any spaces to avoid issues. JIRA INFRA-334
Showing
- app/defaults.py 2 additions, 2 deletionsapp/defaults.py
- app/models.py 18 additions, 1 deletionapp/models.py
- app/validators.py 2 additions, 0 deletionsapp/validators.py
- migrations/versions/f5a605c0c835_remove_spaces_from_device_type.py 28 additions, 0 deletions...s/versions/f5a605c0c835_remove_spaces_from_device_type.py
- tests/functional/conftest.py 1 addition, 0 deletionstests/functional/conftest.py
- tests/functional/factories.py 9 additions, 0 deletionstests/functional/factories.py
- tests/functional/test_models.py 16 additions, 0 deletionstests/functional/test_models.py
Please register or sign in to comment