def METHOD_NAME(self):
    post_models = [i[1] for i in UniqueFieldMixin._get_fields(PostWithUniqFieldCompat)]
    self.assertTrue(all(model is None for model in post_models))
    inherited_post_models = [
        i[1] for i
        in UniqueFieldMixin._get_fields(InheritedFromPostWithUniqFieldCompat)
        if i[1]
    ]
    self.assertEqual(len(inherited_post_models), 6)
    self.assertTrue(all(model is PostWithUniqFieldCompat) for model in inherited_post_models)