fedora-infra / mirrormanager2

Rewrite of the MirrorManager application in Flask and SQLAlchemy
https://mirrormanager.fedoraproject.org
GNU General Public License v2.0
65 stars 49 forks source link

Use InputRequired() instead of Required() #256

Closed adrianreber closed 5 years ago

adrianreber commented 5 years ago

The documentation of wtforms says that Required() is deprecated and that either DataRequired or InputRequired() should be used for the validators. This switches all uses of Required() to InputRequired() which also fixes two broken test cases.

Signed-off-by: Adrian Reber adrian@lisas.de

adrianreber commented 5 years ago

Trying to work on something else I discovered that the tests are broken on F29, this is an attempt to fix the broken errors.

adrianreber commented 5 years ago

Thanks!