diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-03-01 02:05:26 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-03-01 02:05:26 +0000 |
commit | 3ce994a63e75118a38a99b5b6e4ec4bb6a7da98c (patch) | |
tree | afebcfaf21ba3b92f4ae0339eac79fdc8c8ea97d /saharaclient/tests | |
parent | dcc9abe3d17af726b99db5a3ae100bd7f64b878a (diff) | |
parent | 571b5cd3d0dca981355cb522f8a85c56f95adff1 (diff) | |
download | python-saharaclient-3ce994a63e75118a38a99b5b6e4ec4bb6a7da98c.tar.gz |
Merge "Fixing cluster creation with neutron network via CLI"0.13.0
Diffstat (limited to 'saharaclient/tests')
-rw-r--r-- | saharaclient/tests/unit/osc/v1/test_clusters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/saharaclient/tests/unit/osc/v1/test_clusters.py b/saharaclient/tests/unit/osc/v1/test_clusters.py index 1bc0dd3..46027d8 100644 --- a/saharaclient/tests/unit/osc/v1/test_clusters.py +++ b/saharaclient/tests/unit/osc/v1/test_clusters.py @@ -106,8 +106,8 @@ class TestCreateCluster(TestClusters): None, CT_INFO) self.img_mock.find_unique.return_value = api_img.Image( None, {'id': 'img_id'}) - self.net_mock = self.app.client_manager.network.api - self.net_mock.find_attr.return_value = {'id': 'net_id'} + self.net_mock = self.app.client_manager.network + self.net_mock.find_network.return_value = mock.Mock(id='net_id') self.net_mock.reset_mock() # Command to test |