def METHOD_NAME(self):
    SETTINGS.PASSWORD_LOGIN = True
    email = self.fake.email()
    payload = dict(
        password=self.fake.password()[:3], code=Role.SIGNATURE.dumps(email)
    )
    res = self.client.post("/api/2/roles", data=payload)
    assert res.status_code == 400, res