diff options
author | Roman Podolyaka <rpodolyaka@mirantis.com> | 2013-05-31 11:04:41 +0300 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-06-12 13:29:17 +0000 |
commit | 0ceb4ba8b6bc5d30a304e8c2a60d7dbe6e89ae14 (patch) | |
tree | 175d6a8aa0bfa26f36318852f2728dac8312cd23 /openstack/common/rpc/impl_qpid.py | |
parent | 706fa4b31d1e13ab8774bcd10a917849d14033d9 (diff) | |
download | oslo-0ceb4ba8b6bc5d30a304e8c2a60d7dbe6e89ae14.tar.gz oslo-0ceb4ba8b6bc5d30a304e8c2a60d7dbe6e89ae14.tar.xz oslo-0ceb4ba8b6bc5d30a304e8c2a60d7dbe6e89ae14.zip |
Add a fixture for using of SQLite in-memory DB.
Currently, SQLite DB in a file is used for testing of DB related
code. Thus, in each test case we have to ensure that tearDown()
drops all created tables, etc. It is much easier and cleaner to
guarantee that DB is in the original state by creating it in
memory instead.
Change-Id: I6f0a9735a0fb31bef30842afff50c6089fa2bf92
Diffstat (limited to 'openstack/common/rpc/impl_qpid.py')
0 files changed, 0 insertions, 0 deletions