def test_invalid_csrf(self):

        response = self.client.post("/", data={"name": "danny"})
        assert b'DANNY' not in response.data
        assert b'CSRF token missing' in response.data
dataset/ETHPy150Open lepture/flask-wtf/tests/test_validation.py/TestCSRF.test_invalid_csrf/original