'Tests checking group membership'

def test_group_is_member(self):

    anon = get_anonymous_user()
    normal = get_user_model().objects.get(username='norman')
    group = GroupProfile.objects.get(slug='bar')
    self.assert_((not group.user_is_member(anon)))
    self.assert_((not group.user_is_member(normal)))
