def testGetMasterFail(self):

        resource = current.s3db.resource("org_organisation",
                                         uid="OTHERTESTORG")

        with self.assertRaises(KeyError):
            resource.get(self.org_id)

    # -------------------------------------------------------------------------
get() with an ID raises a KeyError, if not accessible
dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3resource.py/ResourceGetTests.testGetMasterFail