def test_csrf_token(self):

        response = self.client.get("/")
        snippet = (
            '<div style="display:none;">'
            '<input id="csrf_token" name="csrf_token" type="hidden" value'
        )
        assert snippet in to_unicode(response.data)
dataset/ETHPy150Open lepture/flask-wtf/tests/test_validation.py/TestCSRF.test_csrf_token/original