def METHOD_NAME(self):
    query = self.factory.create_query()
    other_user = self.factory.create_user()
    data = {"access_type": "random string", "user_id": other_user.id}
    rv = self.make_request("post", "/api/queries/{}/acl".format(query.id), user=query.user, data=data)
    self.assertEqual(400, rv.status_code)