def test_get_error(self):
        objects = self.mapper[SimpleModel]
        yield self.async.assertRaises(SimpleModel.DoesNotExist,
                                objects.get, code='test3')
        yield self.async.assertRaises(SimpleModel.DoesNotExist,
                                objects.get, id=-400)
Test for a ObjectNotFound exception.
dataset/ETHPy150Open lsbardel/python-stdnet/tests/all/query/manager.py/TestManager.test_get_error