Update requirements from opentack/requirements

- sync requirements with global openstack requirements;
- fix flake8 errors.

Change-Id: I7430367726708787fc068e18506fbbb117d23952
This commit is contained in:
Ivan A. Melnikov 2013-12-20 10:54:19 +02:00
parent f0301c61bd
commit b6da1f6ff1
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Packages needed for using this library.
pbr>=0.5.21,<1.0
anyjson>=0.3.3
iso8601>=0.1.4
iso8601>=0.1.8
# Python 2->3 compatibility library.
six>=1.4.1
# Only needed if database backend used.
@ -11,7 +11,7 @@ alembic>=0.4.1
networkx>=1.8
Babel>=1.3
# Used for backend storage engine loading.
stevedore>=0.10
stevedore>=0.12
# Backport for concurrent.futures which exists in 3.2+
futures>=2.1.3
# Only needed if the eventlet executor is used.

View File

@ -81,7 +81,7 @@ class StorageTest(test.TestCase):
flow_detail.add(td)
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):
_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.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):
s = self._get_storage()

View File

@ -1,4 +1,4 @@
hacking>=0.5.6,<0.8
hacking>=0.8.0,<0.9
discover
coverage>=3.6
mock>=1.0