~ubuntu-branches/ubuntu/vivid/ceilometer/vivid

« back to all changes in this revision

Viewing changes to ceilometer/tests/energy/test_kwapi.py

  • Committer: Package Import Robot
  • Author(s): James Page, Corey Bryant, James Page
  • Date: 2015-02-19 14:59:07 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20150219145907-9jojybdsl64zcn14
Tags: 2015.1~b2-0ubuntu1
[ Corey Bryant ]
* New upstream release.
  - d/control: Align requirements with upstream.
  - d/p/skip-test.patch: Rebased.

[ James Page ]
* d/rules,d/p/skip-gabbi.patch: Skip tests that rely on python-gabbi until
  packaging and MIR is complete.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
2
#
3
 
# Author: François Rossigneux <francois.rossigneux@inria.fr>
4
 
#
5
3
# Licensed under the Apache License, Version 2.0 (the "License"); you may
6
4
# not use this file except in compliance with the License. You may obtain
7
5
# a copy of the License at
18
16
 
19
17
from keystoneclient import exceptions
20
18
import mock
 
19
from oslo_context import context
21
20
from oslotest import base
22
21
from oslotest import mockpatch
23
22
import six
24
23
 
25
24
from ceilometer.agent import manager
26
25
from ceilometer.energy import kwapi
27
 
from ceilometer.openstack.common import context
28
26
 
29
27
 
30
28
PROBE_DICT = {