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

« back to all changes in this revision

Viewing changes to ceilometer/tests/alarm/partition/test_coordination.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
#
2
2
# Copyright 2013 Red Hat, Inc
3
3
#
4
 
# Author: Eoghan Glynn <eglynn@redhat.com>
5
 
#
6
4
# Licensed under the Apache License, Version 2.0 (the "License"); you may
7
5
# not use this file except in compliance with the License. You may obtain
8
6
# a copy of the License at
21
19
import uuid
22
20
 
23
21
import mock
24
 
from oslo.config import fixture as fixture_config
25
 
from oslo.utils import timeutils
 
22
from oslo_config import fixture as fixture_config
 
23
from oslo_utils import timeutils
26
24
from six import moves
27
25
 
28
26
from ceilometer.alarm.partition import coordination
123
121
                            alarm_actions=[],
124
122
                            insufficient_data_actions=[],
125
123
                            alarm_id=uuid,
 
124
                            severity='critical',
126
125
                            time_constraints=[],
127
126
                            rule=dict(
128
127
                                statistic='avg',