/usr/lib/python2.6/site-packages/openstack/tests/unit/metric/v1
NameSizeModeActions
test_archive_policy.py21100644editdlrm
test_archive_policy.pyc23610644editdlrm
test_capabilities.py12910644editdlrm
test_capabilities.pyc14540644editdlrm
test_metric.py29190644editdlrm
test_metric.pyc26400644editdlrm
test_proxy.py10020644editdlrm
test_proxy.pyc11720644editdlrm
test_resource.py23310644editdlrm
test_resource.pyc22760644editdlrm
__init__.py00644editdlrm
__init__.pyc1640644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstack/tests/unit/metric/v1/test_proxy.py (1002B)
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from openstack.metric.v1 import _proxy from openstack.metric.v1 import capabilities from openstack.tests.unit import test_proxy_base class TestMetricProxy(test_proxy_base.TestProxyBase): def setUp(self): super(TestMetricProxy, self).setUp() self.proxy = _proxy.Proxy(self.session) def test_capabilities(self): self.verify_list(self.proxy.capabilities, capabilities.Capabilities, paginated=False)