def post_invite(self, data=None):
        if not data:
            data = {"email": "sample@email.com",
                    "default_group_name": DefaultGroups.MEMBER,
                    "message": "the message"}
        return self.client.post(reverse("members"
            , kwargs={"community_id": self.community.id}),
                                data)