def test_submitted_not_valid(self):
        self.app.config['WTF_CSRF_ENABLED'] = False
        response = self.client.post("/", data={})
        assert b'DANNY' not in response.data
dataset/ETHPy150Open lepture/flask-wtf/tests/test_validation.py/TestValidateOnSubmit.test_submitted_not_valid/original