Testing a POST that uses Flask-WTF validate_on_submit
问题 I am stumped on testing a POST to add a category to the database where I've used Flask_WTF for validation and CSRF protection. For the CRUD operations pm my website. I've used Flask, Flask_WTF and Flask-SQLAlchemy. It is my first independent project, and I find myself a little at a lost on how to test the Flask-WTForm validate_on_submit function. Here's are the models: class Users(db.Model): id = db.Column(db.Integer, primary_key=True, unique=True) name = db.Column(db.String(80), nullable