fix dependencies version
Change-Id: I5fc4b3e8193232379a6aa2b6cc4ef6457f0a6ef1
This commit is contained in:
parent
38d7fcdc68
commit
77fcefbfbb
@ -4,4 +4,4 @@ source = watcher
|
||||
omit = watcher/tests/*,watcher/openstack/*
|
||||
|
||||
[report]
|
||||
ignore-errors = True
|
||||
ignore_errors = True
|
||||
|
@ -1,4 +1,4 @@
|
||||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=stackforge/watcher.git
|
||||
project=openstack/watcher.git
|
||||
|
@ -3,13 +3,13 @@
|
||||
# process, which may cause wedges in the gate later.
|
||||
|
||||
pbr>=0.6,!=0.7,<1.0
|
||||
oslo.config>=1.4.0
|
||||
oslo.config==1.14.0
|
||||
PasteDeploy==1.5.2
|
||||
oslo.messaging
|
||||
oslo.db
|
||||
oslo.log
|
||||
oslo.i18n
|
||||
oslo.utils>=1.2.0 # Apache-2.0
|
||||
oslo.messaging==1.16.0
|
||||
oslo.db==2.1.0
|
||||
oslo.log==1.6.0
|
||||
oslo.i18n==2.1.0
|
||||
oslo.utils==1.8.0 # Apache-2.0
|
||||
pecan>=0.8
|
||||
keystonemiddleware>=1.0.0
|
||||
six>=1.7.0,<=1.9.0
|
||||
@ -20,10 +20,13 @@ jsonpatch>=1.1
|
||||
enum34==1.0.4
|
||||
|
||||
# watcher Applier
|
||||
python-novaclient
|
||||
python-openstackclient
|
||||
python-neutronclient
|
||||
python-glanceclient
|
||||
python-cinderclient
|
||||
# Decision Engine
|
||||
python-ceilometerclient
|
||||
python-novaclient==2.28.1
|
||||
python-openstackclient==1.6.0
|
||||
python-neutronclient==3.0.0
|
||||
python-glanceclient==1.1.0
|
||||
python-cinderclient==1.4.0
|
||||
|
||||
# Collector
|
||||
python-ceilometerclient==1.5.0
|
||||
influxdb==2.9.1
|
||||
parsedatetime==1.5
|
||||
|
@ -6,13 +6,16 @@ hacking<0.11,>=0.10.0
|
||||
coverage>=3.6
|
||||
discover
|
||||
python-subunit>=0.0.18
|
||||
oslotest>=1.2.0 # Apache-2.0
|
||||
oslotest==1.8.0 # Apache-2.0
|
||||
testrepository>=0.0.18
|
||||
testscenarios>=0.4
|
||||
testtools>=0.9.36,!=1.2.0
|
||||
mock>=1.0
|
||||
testtools==1.7.1
|
||||
mock==1.3.0
|
||||
|
||||
# Doc requirements
|
||||
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
||||
oslosphinx>=2.2.0 # Apache-2.0
|
||||
oslosphinx==3.0.0 # Apache-2.0
|
||||
sphinxcontrib-pecanwsme>=0.8
|
||||
|
||||
# For PyPI distribution
|
||||
twine
|
||||
|
@ -33,7 +33,7 @@ from watcher.tests.objects import utils as obj_utils
|
||||
def post_get_test_audit(**kw):
|
||||
audit = api_utils.audit_post_data(**kw)
|
||||
audit_template = db_utils.get_test_audit_template()
|
||||
audit['audit_template_id'] = None
|
||||
del audit['audit_template_id']
|
||||
audit['audit_template_uuid'] = kw.get('audit_template_uuid',
|
||||
audit_template['uuid'])
|
||||
return audit
|
||||
|
@ -59,7 +59,7 @@ class TestEventDispatcher(base.TestCase):
|
||||
listener)
|
||||
|
||||
self.event_dispatcher.dispatch_event(event)
|
||||
listener.assert_has_calls(call(event))
|
||||
listener.assert_has_calls(calls=[call(event)])
|
||||
|
||||
def test_dispatch_event_to_all_listener(self):
|
||||
event = self.fake_event(Events.ACTION_PLAN)
|
||||
@ -75,6 +75,6 @@ class TestEventDispatcher(base.TestCase):
|
||||
listener_trigger_audit)
|
||||
|
||||
self.event_dispatcher.dispatch_event(event)
|
||||
listener_all.assert_has_calls(call(event))
|
||||
listener_action_plan.assert_has_calls(call(event))
|
||||
listener_all.assert_has_calls(calls=[call(event)])
|
||||
listener_action_plan.assert_has_calls(calls=[call(event)])
|
||||
listener_trigger_audit.assert_has_calls([])
|
||||
|
Loading…
Reference in New Issue
Block a user