

def test_site_fk(self):
    article = ExclusiveArticle.objects.create(title='Breaking News!', site_id=settings.SITE_ID)
    article.assertEqual(ExclusiveArticle.on_site.all().get(), article)

dataset/ETHPy150Open django/django/tests/sites_framework/tests.py SitesFrameworkTestCase.test_site_fk/VarMisuse@29/40 `self`->`article`