def test_delete(self):
        self.assertTrue(self.role_name in self.service.roles)
        self.service.roles.delete(self.role_name)
        self.assertFalse(self.role_name in self.service.roles)
        self.assertRaises(client.HTTPError, self.role.refresh)
dataset/ETHPy150Open splunk/splunk-sdk-python/tests/test_role.py/RoleTestCase.test_delete/original