diff --git a/magnum/tests/functional/common/datagen.py b/magnum/tests/functional/common/datagen.py index 6aa77e41a2..da1a67b0e1 100644 --- a/magnum/tests/functional/common/datagen.py +++ b/magnum/tests/functional/common/datagen.py @@ -96,6 +96,7 @@ def random_baymodel_data(keypair_id=random_string(), image_id=random_string()): "https_proxy": "https://proxy.com:%s" % generate_random_port(), "no_proxy": ",".join(generate_random_ip() for x in range(3)), "network_driver": "flannel", + "labels": {"K1": "V1", "K2": "V2"}, } model = baymodel_model.BayModelEntity.from_dict(data) diff --git a/magnum/tests/functional/python_client_base.py b/magnum/tests/functional/python_client_base.py index ae9a560736..a7c4e8d318 100644 --- a/magnum/tests/functional/python_client_base.py +++ b/magnum/tests/functional/python_client_base.py @@ -102,6 +102,7 @@ class BaseMagnumClient(base.TestCase): docker_volume_size=1, network_driver='flannel', coe=coe, + labels={"K1": "V1", "K2": "V2"}, ) return baymodel