summaryrefslogtreecommitdiffstats
path: root/tests/unit/db/sqlalchemy/test_sqlalchemy.py
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2013-02-04 16:53:40 +0000
committerMark McLoughlin <markmc@redhat.com>2013-02-07 15:25:29 -0500
commitcec0f5b07abaaae989619536df25d70166fb343e (patch)
tree93e25a19e734ef8376ee9fa100649012c383e176 /tests/unit/db/sqlalchemy/test_sqlalchemy.py
parentf9ae9f38abfd94a13b42148251a66465d16f4a87 (diff)
downloadoslo-cec0f5b07abaaae989619536df25d70166fb343e.tar.gz
oslo-cec0f5b07abaaae989619536df25d70166fb343e.tar.xz
oslo-cec0f5b07abaaae989619536df25d70166fb343e.zip
Remove pointless use of OpenStackException
The use of the base exception does nothing for the test but means the "dead module walking" exception module. Change-Id: Ibd7bb8aa526be366f005ab5e12fd4da89a976c57
Diffstat (limited to 'tests/unit/db/sqlalchemy/test_sqlalchemy.py')
-rw-r--r--tests/unit/db/sqlalchemy/test_sqlalchemy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/db/sqlalchemy/test_sqlalchemy.py b/tests/unit/db/sqlalchemy/test_sqlalchemy.py
index ae86489..e509036 100644
--- a/tests/unit/db/sqlalchemy/test_sqlalchemy.py
+++ b/tests/unit/db/sqlalchemy/test_sqlalchemy.py
@@ -27,13 +27,12 @@ from sqlalchemy import Column, MetaData, Table, UniqueConstraint
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import DateTime, Integer
-from openstack.common import exception
from openstack.common.db.sqlalchemy import models
from openstack.common.db.sqlalchemy import session
from tests import utils as test_utils
-class TestException(exception.OpenstackException):
+class TestException(Exception):
pass