"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cloudkitty/tests/common/test_prometheus_client.py" between
cloudkitty-12.1.0.tar.gz and cloudkitty-13.0.0.tar.gz

About: OpenStack CloudKitty provides Rating-as-a-Service for OpenStack.
The "Victoria" series (latest release).

test_prometheus_client.py  (cloudkitty-12.1.0):test_prometheus_client.py  (cloudkitty-13.0.0)
skipping to change at line 16 skipping to change at line 16
# a copy of the License at # a copy of the License at
# #
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
# #
import mock from unittest import mock
from cloudkitty.collector import prometheus from cloudkitty.collector import prometheus
from cloudkitty import tests from cloudkitty import tests
from cloudkitty.tests import samples from cloudkitty.tests import samples
from cloudkitty.utils import json from cloudkitty.utils import json
class PrometheusClientTest(tests.TestCase): class PrometheusClientTest(tests.TestCase):
class FakeResponse(object): class FakeResponse(object):
"""Mimics an HTTP ``requests`` response""" """Mimics an HTTP ``requests`` response"""
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)