def test_valid_csrf(self):

        response = self.client.get("/")
        csrf_token = get_csrf_token(response.data)

        response = self.client.post("/", data={"name": "danny",
                                               "csrf_token": csrf_token})
        assert response.data in b'DANNY'
dataset/ETHPy150Open lepture/flask-wtf/tests/test_validation.py/TestCSRF.test_valid_csrf/swapped operands of `in`