Fixed bug with url building
The requested server ID contains the hash tag, which makes the sent
request url suffix of the form:
`/v2/tenant-id/servers/!@#$%^&*()/action`, which includes a '#'.
The path of this url is `/v2/tenant-id/servers/!@` and the fragment
identifier of this path is `$%^&*()/action`. This is not the right
behavior and might lead to failures when a backend server parses the
url correctly.
Removing the '#' from the ID fixes this.
Change-Id: I1ce02e78324ccbca314218a8e62967db68e59a80
Closes-bug: #1541761
diff --git a/tempest/api/compute/images/test_images_negative.py b/tempest/api/compute/images/test_images_negative.py
index 8f6ede9..8706566 100644
--- a/tempest/api/compute/images/test_images_negative.py
+++ b/tempest/api/compute/images/test_images_negative.py
@@ -68,7 +68,7 @@
resp = {}
resp['status'] = None
self.assertRaises(lib_exc.NotFound, self.create_image_from_server,
- '!@#$%^&*()', name=name, meta=meta)
+ '!@$%^&*()', name=name, meta=meta)
@test.attr(type=['negative'])
@test.idempotent_id('ec176029-73dc-4037-8d72-2e4ff60cf538')