From b6da1f6ff1a6b14a985287061fe590aed6d3f26b Mon Sep 17 00:00:00 2001 From: "Ivan A. Melnikov" Date: Fri, 20 Dec 2013 10:54:19 +0200 Subject: [PATCH] Update requirements from opentack/requirements - sync requirements with global openstack requirements; - fix flake8 errors. Change-Id: I7430367726708787fc068e18506fbbb117d23952 --- requirements.txt | 4 ++-- taskflow/tests/unit/test_storage.py | 4 ++-- test-requirements.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 7b63dbab6..490643eb8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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. diff --git a/taskflow/tests/unit/test_storage.py b/taskflow/tests/unit/test_storage.py index 7fa7eb301..9c067f915 100644 --- a/taskflow/tests/unit/test_storage.py +++ b/taskflow/tests/unit/test_storage.py @@ -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() diff --git a/test-requirements.txt b/test-requirements.txt index eb0558635..70e701454 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,4 @@ -hacking>=0.5.6,<0.8 +hacking>=0.8.0,<0.9 discover coverage>=3.6 mock>=1.0