Add tests for validator.
commit51bd4f9a581ec1a8a344023d31440d556f81a458
authorAbhilash Raj <maxking@asynchronous.in>
Sun, 7 Jun 2020 03:04:47 +0000 (7 03:04 +0000)
committerAbhilash Raj <maxking@asynchronous.in>
Sun, 7 Jun 2020 03:04:47 +0000 (7 03:04 +0000)
tree9f45e7cc9fe4a68f2b5d8f8eb41a9bc2c4d3ea89
parent1767d6ce298d87950ce28f9fb02da6421620d948
Add tests for validator.

- Update fields in ChangeSubsubscriptionForm
- Add tests for validators
- Add tests for subscribe with invalid values.
13 files changed:
src/postorius/doc/news.rst
src/postorius/forms/list_forms.py
src/postorius/forms/validators.py [new file with mode: 0644]
src/postorius/models.py
src/postorius/templates/postorius/lists/summary.html
src/postorius/tests/mailman_api_tests/test_list_summary.py
src/postorius/tests/mailman_api_tests/test_subscriptions.py
src/postorius/tests/mailman_api_tests/test_user.py
src/postorius/tests/test_list_forms.py
src/postorius/tests/test_validators.py [new file with mode: 0644]
src/postorius/views/list.py
src/postorius/views/user.py
tox.ini