Fix the flavor ram string value
Current test_create_flavor_using_string_ram specify " 1024 " as the
ram string value and the spaces are meaningless.
Current Nova API(v2.0) validation is loose and the API accepts this
value. However, new API(v2.1) will not allow this kind of value.
This patch removes these spaces from the test.
Change-Id: Ifaabcf04e2600bcec8043c981e320d47d8dc6379
diff --git a/tempest/api/compute/admin/test_flavors.py b/tempest/api/compute/admin/test_flavors.py
index d365f3a..3307159 100644
--- a/tempest/api/compute/admin/test_flavors.py
+++ b/tempest/api/compute/admin/test_flavors.py
@@ -296,7 +296,7 @@
flavor_name = data_utils.rand_name(self.flavor_name_prefix)
new_flavor_id = data_utils.rand_int_id(start=1000)
- ram = " 1024 "
+ ram = "1024"
resp, flavor = self.client.create_flavor(flavor_name,
ram, self.vcpus,
self.disk,