with app.test_request_context(method='POST', data={'category': 1}):
    form = Product(request.form)
form = Product(request.form, category=2)
Setting a default value in the selectfield, using wtforms and flask