Added the ability to give the tests the ability to add in flavor metadata.
[snaps.git] / snaps / provisioning / tests / ansible_utils_tests.py
index dc108e0..552171f 100644 (file)
@@ -85,7 +85,8 @@ class AnsibleProvisioningTests(OSIntegrationTestCase):
             # Create Flavor
             self.flavor_creator = create_flavor.OpenStackFlavor(
                 self.admin_os_creds,
-                create_flavor.FlavorSettings(name=guid + '-flavor-name', ram=2048, disk=10, vcpus=2))
+                create_flavor.FlavorSettings(name=guid + '-flavor-name', ram=2048, disk=10, vcpus=2,
+                                             metadata=self.flavor_metadata))
             self.flavor_creator.create()
 
             # Create Key/Pair