

def test_pkvalue(self):
    models = self.mapper
    all = (yield models.simplemodel.all())
    self.assertTrue(all)
    for o in all:
        self.assertEqual(models.simplemodel.pkvalue(o), o.pkvalue())

dataset/ETHPy150Open lsbardel/python-stdnet/tests/all/query/manager.py TestManager.test_pkvalue/original