fix tests: avoid db locked error with sqlite3
This commit is contained in:
parent
a4c24a44d8
commit
c9cb428707
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
|
|
||||||
python tests/test_postgres.py
|
python tests/test_postgres.py $@
|
||||||
python tests/test_standard.py
|
python tests/test_standard.py $@
|
||||||
|
|
|
@ -94,6 +94,8 @@ def test_type(self, config):
|
||||||
|
|
||||||
def test_topic(self, config):
|
def test_topic(self, config):
|
||||||
storage = config.storageFactory(config.dbschema)
|
storage = config.storageFactory(config.dbschema)
|
||||||
|
storage.dropTable('rels')
|
||||||
|
rels = storage.getContainer(concept.Triple)
|
||||||
storage.dropTable('topics')
|
storage.dropTable('topics')
|
||||||
topics = storage.getContainer(topic.Topic)
|
topics = storage.getContainer(topic.Topic)
|
||||||
types = storage.getContainer(concept.Type)
|
types = storage.getContainer(concept.Type)
|
||||||
|
|
Loading…
Add table
Reference in a new issue