Update requirements from opentack/requirements
- sync requirements with global openstack requirements; - fix flake8 errors. Change-Id: I7430367726708787fc068e18506fbbb117d23952
This commit is contained in:
parent
f0301c61bd
commit
b6da1f6ff1
@ -1,7 +1,7 @@
|
|||||||
# Packages needed for using this library.
|
# Packages needed for using this library.
|
||||||
pbr>=0.5.21,<1.0
|
pbr>=0.5.21,<1.0
|
||||||
anyjson>=0.3.3
|
anyjson>=0.3.3
|
||||||
iso8601>=0.1.4
|
iso8601>=0.1.8
|
||||||
# Python 2->3 compatibility library.
|
# Python 2->3 compatibility library.
|
||||||
six>=1.4.1
|
six>=1.4.1
|
||||||
# Only needed if database backend used.
|
# Only needed if database backend used.
|
||||||
@ -11,7 +11,7 @@ alembic>=0.4.1
|
|||||||
networkx>=1.8
|
networkx>=1.8
|
||||||
Babel>=1.3
|
Babel>=1.3
|
||||||
# Used for backend storage engine loading.
|
# Used for backend storage engine loading.
|
||||||
stevedore>=0.10
|
stevedore>=0.12
|
||||||
# Backport for concurrent.futures which exists in 3.2+
|
# Backport for concurrent.futures which exists in 3.2+
|
||||||
futures>=2.1.3
|
futures>=2.1.3
|
||||||
# Only needed if the eventlet executor is used.
|
# Only needed if the eventlet executor is used.
|
||||||
|
@ -81,7 +81,7 @@ class StorageTest(test.TestCase):
|
|||||||
flow_detail.add(td)
|
flow_detail.add(td)
|
||||||
|
|
||||||
s = storage.Storage(backend=self.backend, flow_detail=flow_detail)
|
s = storage.Storage(backend=self.backend, flow_detail=flow_detail)
|
||||||
self.assertEquals('42', s.get_task_uuid('my_task'))
|
self.assertEqual('42', s.get_task_uuid('my_task'))
|
||||||
|
|
||||||
def test_ensure_existing_task(self):
|
def test_ensure_existing_task(self):
|
||||||
_lb, flow_detail = p_utils.temporary_flow_detail(self.backend)
|
_lb, flow_detail = p_utils.temporary_flow_detail(self.backend)
|
||||||
@ -90,7 +90,7 @@ class StorageTest(test.TestCase):
|
|||||||
|
|
||||||
s = storage.Storage(backend=self.backend, flow_detail=flow_detail)
|
s = storage.Storage(backend=self.backend, flow_detail=flow_detail)
|
||||||
s.ensure_task('my_task')
|
s.ensure_task('my_task')
|
||||||
self.assertEquals('42', s.get_task_uuid('my_task'))
|
self.assertEqual('42', s.get_task_uuid('my_task'))
|
||||||
|
|
||||||
def test_save_and_get(self):
|
def test_save_and_get(self):
|
||||||
s = self._get_storage()
|
s = self._get_storage()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
hacking>=0.5.6,<0.8
|
hacking>=0.8.0,<0.9
|
||||||
discover
|
discover
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
mock>=1.0
|
mock>=1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user