> @@ -189,6 +189,23 @@ public void testCreateWithOptions() throws Exception {
>        }
>     }
>  
> +   public void testCreateWithSpacesAndSpecialCharacters() throws Exception {
> +      MockWebServer server = mockOpenStackServer();
> +      server.enqueue(addCommonHeaders(new 
> MockResponse().setBody(stringFromResource("/access.json"))));
> +      server.enqueue(addCommonHeaders(new 
> MockResponse().setResponseCode(201)));
> +
> +      try {
> +         SwiftApi api = api(server.getUrl("/").toString(), 
> "openstack-swift");
> +         assertTrue(api.getContainerApiForRegion("DFW").create("container # 
> ! special"));

Can the special name String used to test be a static final somewhere more 
global? Applies to the other test too.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/104/files#r12976145

Reply via email to