def testGetError(self):

        resource = current.s3db.resource("org_organisation",
                                         uid="GETTESTORG")
        self.assertRaises(KeyError, resource.get, None)

    # -------------------------------------------------------------------------
get() without ID raises a KeyError
dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3resource.py/ResourceGetTests.testGetError