diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-10-13 18:25:45 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-10-13 18:25:45 +0000 |
| commit | 33403348a253230b79e36e27077e52db4ab28418 (patch) | |
| tree | c657ad115c3cfb6f3c6553e305c989f5fe21b01f /openstackclient/tests | |
| parent | 885b1149c309667c6e4c3092b67fef3c01a15178 (diff) | |
| parent | f6f5ce03c5b8a03180db24a02dda5b30f40b4cee (diff) | |
| download | python-openstackclient-33403348a253230b79e36e27077e52db4ab28418.tar.gz | |
Merge "Optimize getting endpoint list"
Diffstat (limited to 'openstackclient/tests')
| -rw-r--r-- | openstackclient/tests/unit/identity/v3/test_endpoint.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openstackclient/tests/unit/identity/v3/test_endpoint.py b/openstackclient/tests/unit/identity/v3/test_endpoint.py index 765fbedd..fad53fcb 100644 --- a/openstackclient/tests/unit/identity/v3/test_endpoint.py +++ b/openstackclient/tests/unit/identity/v3/test_endpoint.py @@ -295,6 +295,7 @@ class TestEndpointList(TestEndpoint): # This is the return value for common.find_resource(service) self.services_mock.get.return_value = self.service + self.services_mock.list.return_value = [self.service] # Get the command object to test self.cmd = endpoint.ListEndpoint(self.app, None) @@ -726,6 +727,7 @@ class TestEndpointListServiceWithoutName(TestEndpointList): # This is the return value for common.find_resource(service) self.services_mock.get.return_value = self.service + self.services_mock.list.return_value = [self.service] # Get the command object to test self.cmd = endpoint.ListEndpoint(self.app, None) |
