def assert_has_permission(self, name):
        permissions = self.err.get_resource("permissions")
        assert name in permissions, (
            '"%s" not found in permissions (%s)' % (
                name, ', '.join(permissions)))
dataset/ETHPy150Open mozilla/app-validator/tests/helper.py/TestCase.assert_has_permission/original