Merge "Adds client test for labels"
This commit is contained in:
commit
2e58c5a0f0
@ -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)
|
||||
|
||||
|
@ -102,6 +102,7 @@ class BaseMagnumClient(base.TestCase):
|
||||
docker_volume_size=1,
|
||||
network_driver='flannel',
|
||||
coe=coe,
|
||||
labels={"K1": "V1", "K2": "V2"},
|
||||
)
|
||||
return baymodel
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user