Update db api test
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,4 +1,4 @@
|
|||||||
*.py[cod]
|
.py[cod]
|
||||||
|
|
||||||
# C extensions
|
# C extensions
|
||||||
*.so
|
*.so
|
||||||
@@ -33,3 +33,6 @@ nosetests.xml
|
|||||||
.mr.developer.cfg
|
.mr.developer.cfg
|
||||||
.project
|
.project
|
||||||
.pydevproject
|
.pydevproject
|
||||||
|
|
||||||
|
# DS_STORE
|
||||||
|
.DS_Store
|
||||||
|
|||||||
BIN
taskflow/.DS_Store
vendored
BIN
taskflow/.DS_Store
vendored
Binary file not shown.
BIN
taskflow/__init__.pyc
Normal file
BIN
taskflow/__init__.pyc
Normal file
Binary file not shown.
BIN
taskflow/common/__init__.pyc
Normal file
BIN
taskflow/common/__init__.pyc
Normal file
Binary file not shown.
BIN
taskflow/common/config.pyc
Normal file
BIN
taskflow/common/config.pyc
Normal file
Binary file not shown.
BIN
taskflow/db/.DS_Store
vendored
BIN
taskflow/db/.DS_Store
vendored
Binary file not shown.
BIN
taskflow/db/__init__.pyc
Normal file
BIN
taskflow/db/__init__.pyc
Normal file
Binary file not shown.
BIN
taskflow/db/api.pyc
Normal file
BIN
taskflow/db/api.pyc
Normal file
Binary file not shown.
BIN
taskflow/db/sqlalchemy/.DS_Store
vendored
BIN
taskflow/db/sqlalchemy/.DS_Store
vendored
Binary file not shown.
BIN
taskflow/db/sqlalchemy/__init__.pyc
Normal file
BIN
taskflow/db/sqlalchemy/__init__.pyc
Normal file
Binary file not shown.
BIN
taskflow/db/sqlalchemy/api.pyc
Normal file
BIN
taskflow/db/sqlalchemy/api.pyc
Normal file
Binary file not shown.
BIN
taskflow/db/sqlalchemy/models.pyc
Normal file
BIN
taskflow/db/sqlalchemy/models.pyc
Normal file
Binary file not shown.
BIN
taskflow/openstack/.DS_Store
vendored
BIN
taskflow/openstack/.DS_Store
vendored
Binary file not shown.
BIN
taskflow/openstack/common/.DS_Store
vendored
BIN
taskflow/openstack/common/.DS_Store
vendored
Binary file not shown.
BIN
taskflow/states.pyc
Normal file
BIN
taskflow/states.pyc
Normal file
Binary file not shown.
BIN
taskflow/tests/.DS_Store
vendored
BIN
taskflow/tests/.DS_Store
vendored
Binary file not shown.
@@ -13,7 +13,7 @@ from taskflow.db.sqlalchemy.session import get_session
|
|||||||
from taskflow.openstack.common import exception
|
from taskflow.openstack.common import exception
|
||||||
|
|
||||||
db_api.configure()
|
db_api.configure()
|
||||||
db_filepath = cfg.CONF.get('sql_connection')
|
db_api.SQL_CONNECTION = 'sqlite:///test.db'
|
||||||
|
|
||||||
def setUpModule():
|
def setUpModule():
|
||||||
if not path.isfile('test.db'):
|
if not path.isfile('test.db'):
|
||||||
|
|||||||
BIN
taskflow/utils.pyc
Normal file
BIN
taskflow/utils.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user