def testMeta(self):
        models = self.mapper
        through = Profile.roles.model
        self.assertTrue(models in through)
        objects = models[through]
        name = through.__name__
        self.assertEqual(name, 'profile_role')
        self.assertEqual(objects.backend, models[Profile].backend)
        self.assertEqual(objects.backend, models[Role].backend)
        self.assertEqual(through.role.field.model, through)
        self.assertEqual(through.profile.field.model, through)
        pk = through.pk()
        self.assertTrue(isinstance(pk, odm.CompositeIdField))
        self.assertEqual(pk.fields[0].relmodel, Profile)
        self.assertEqual(pk.fields[1].relmodel, Role)
dataset/ETHPy150Open lsbardel/python-stdnet/tests/all/query/manytomany.py/TestRegisteredThroughModel.testMeta/swapped operands of `in`