def test_resolve_forward_related_lookups(self):
        lookups = ['exact', 'gte', 'gt', 'lte', 'lt', 'in', 'isnull', ]

        # ForeignKey
        model_field = Article._meta.get_field('author')
        for term in lookups:
            field, lookup = resolve_field(model_field, term)
            self.assertIsInstance(field, models.ForeignKey)
            self.assertEqual(lookup, term)

        # ManyToManyField
        model_field = User._meta.get_field('favorite_books')
        for term in lookups:
            field, lookup = resolve_field(model_field, term)
            self.assertIsInstance(field, models.ManyToManyField)
            self.assertEqual(lookup, term)
(:class:`github3.repos.RepoCommit`) The signle repo commit.
dataset/ETHPy150Open carltongibson/django-filter/tests/test_utils.py/ResolveFieldTests.test_resolve_forward_related_lookups--crossover with--dataset/ETHPy150Open crosspop/asuka/asuka/commit.py/Commit.repo_commit