'Exception raised without `blob` in request.'

def test_validate_policy_without_blob_fails(self):

    request_to_validate = {'type': 'application/json'}
    self.assertRaises(exception.SchemaValidationError, self.create_policy_validator.validate, request_to_validate)
