def receive(self, user, data):

        self.login(account=user, nexturl="inv/recv/create")
        table = "inv_recv"
        result = self.create(table, data)
        return result

    # -------------------------------------------------------------------------
Helper method to add a inv_send record by the given user
dataset/ETHPy150Open sahana/eden/modules/tests/inv/helper.py/InvTestFunctions.receive