diff options
-rw-r--r-- | oslo_db/tests/old_import_api/sqlalchemy/test_sqlalchemy.py | 10 | ||||
-rw-r--r-- | oslo_db/tests/sqlalchemy/test_sqlalchemy.py | 10 | ||||
-rw-r--r-- | test-requirements-py2.txt | 2 | ||||
-rw-r--r-- | test-requirements-py3.txt | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/oslo_db/tests/old_import_api/sqlalchemy/test_sqlalchemy.py b/oslo_db/tests/old_import_api/sqlalchemy/test_sqlalchemy.py index 3b65205..d1f10b7 100644 --- a/oslo_db/tests/old_import_api/sqlalchemy/test_sqlalchemy.py +++ b/oslo_db/tests/old_import_api/sqlalchemy/test_sqlalchemy.py @@ -167,21 +167,21 @@ class SQLiteSavepointTest(test_base.DbTestCase): ) -class FakeDBAPIConnection(): +class FakeDBAPIConnection(object): def cursor(self): return FakeCursor() -class FakeCursor(): +class FakeCursor(object): def execute(self, sql): pass -class FakeConnectionProxy(): +class FakeConnectionProxy(object): pass -class FakeConnectionRec(): +class FakeConnectionRec(object): pass @@ -195,7 +195,7 @@ class ProgrammingError(Exception): class FakeDB2Engine(object): - class Dialect(): + class Dialect(object): def is_disconnect(self, e, *args): expected_error = ('SQL30081N: DB2 Server connection is no longer ' diff --git a/oslo_db/tests/sqlalchemy/test_sqlalchemy.py b/oslo_db/tests/sqlalchemy/test_sqlalchemy.py index 433affe..516acb6 100644 --- a/oslo_db/tests/sqlalchemy/test_sqlalchemy.py +++ b/oslo_db/tests/sqlalchemy/test_sqlalchemy.py @@ -167,21 +167,21 @@ class SQLiteSavepointTest(test_base.DbTestCase): ) -class FakeDBAPIConnection(): +class FakeDBAPIConnection(object): def cursor(self): return FakeCursor() -class FakeCursor(): +class FakeCursor(object): def execute(self, sql): pass -class FakeConnectionProxy(): +class FakeConnectionProxy(object): pass -class FakeConnectionRec(): +class FakeConnectionRec(object): pass @@ -195,7 +195,7 @@ class ProgrammingError(Exception): class FakeDB2Engine(object): - class Dialect(): + class Dialect(object): def is_disconnect(self, e, *args): expected_error = ('SQL30081N: DB2 Server connection is no longer ' diff --git a/test-requirements-py2.txt b/test-requirements-py2.txt index c6fa44d..5addb2b 100644 --- a/test-requirements-py2.txt +++ b/test-requirements-py2.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking>=0.9.2,<0.10 +hacking>=0.10.0,<0.11 coverage>=3.6 discover diff --git a/test-requirements-py3.txt b/test-requirements-py3.txt index 7301186..d760873 100644 --- a/test-requirements-py3.txt +++ b/test-requirements-py3.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking>=0.9.2,<0.10 +hacking>=0.10.0,<0.11 coverage>=3.6 discover |