def METHOD_NAME(self):
    response = self.post_request(
        "/invite/{}".format("jdsnfkjdsnfkj"),
        data={"password": "1234"},
        org=self.factory.org,
    )
    self.assertEqual(response.status_code, 400)