Adds client test for labels

Previously, the client tests for labels were removed due to
functional gate tests failing. The tests were failing because the
associated client patch had not merged. Now that the client patch
has merged, the test can be included.

Change-Id: I2efb19c1042bda560febe9b5da8423d5ba1a7492
This commit is contained in:
Daneyon Hansen 2015-09-25 22:27:13 +00:00
parent 2d76ef7cf5
commit 7b323ed15b
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -102,6 +102,7 @@ class BaseMagnumClient(base.TestCase):
docker_volume_size=1,
network_driver='flannel',
coe=coe,
labels={"K1": "V1", "K2": "V2"},
)
return baymodel