'User is part of group controlling perms'

def test_can_download_report(self):

    grp = Group(name=settings.PAYMENT_REPORT_GENERATOR_GROUP)
    grp.save()
    self.user.groups.add(grp)
    self.assertTrue(_can_download_report(self.user))
