def test_has_perm(self):
        u = self.F.UserFactory.create(permissions=["library.create_cases"])
        self.assertTrue(self.permissions.has_perm(u, "library.create_cases"))
Return the header value as is (may be bytes or unicode).
dataset/ETHPy150Open mozilla/moztrap/tests/view/templatetags/test_permissions.py/PermissionFilterTest.test_has_perm--crossover with--dataset/ETHPy150Open adampresley/bottlepy-bootstrap/app/bottle.py/WSGIHeaderDict.raw