> + try {
> + PoppyApi poppyApi = api(server.getUrl("/").toString(),
> "openstack-poppy", overrides);
> + FlavorApi api = poppyApi.getFlavorApi();
> +
> + List<Flavor> flavors = api.list().toList();
> +
> + assertThat(server.getRequestCount()).isEqualTo(2);
> + assertAuthentication(server);
> + assertRequest(server.takeRequest(), "GET", BASE_URI + "/flavors");
> +
> + assertThat(flavors).isNotEmpty();
> +
> + } finally {
> + server.shutdown();
> + }
> + }
I will add the test.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/176/files#r23394937