def test_right_group_profile(self):
        g1 = GroupFactory(pk=100)
        g1.save()
        eq_(100, g1.pk)
        g2 = GroupFactory(pk=101)
        g2.save()
        eq_(101, g2.pk)
        p = GroupProfileFactory(pk=100, group=g2, slug='foo')
        eq_(100, p.pk)

        eq_(group_link(g1), g1.name)
Package, no read perms, user.
dataset/ETHPy150Open mozilla/kitsune/kitsune/groups/tests/test_templatetags.py/GroupHelperTests.test_right_group_profile--crossover with--dataset/ETHPy150Open mathcamp/pypicloud/tests/test_simple.py/TestRedirectAlwaysShow.test_package_no_read_user