fixed bug that caused quman test to fail because the temporary directory is missing

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3093]
This commit is contained in:
Guillaume Raffy 2026-04-02 18:13:39 +02:00
parent 7acaa1ad5a
commit 12be70500b
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ class QumanTestCase(unittest.TestCase):
def test_quman(self):
logging.info('test_quman')
db_path = Path('./quman_test/quman.sqlite')
db_path.parent.mkdir(exist_ok=True)
if db_path.exists():
db_path.unlink()
db_backend = SqliteDb(db_path)