avoid 'db locked' error with sqlite on first run: provide additional commit()

This commit is contained in:
Helmut Merz 2024-08-17 11:26:04 +02:00
parent 6099db6c56
commit a4c24a44d8

View file

@ -112,6 +112,7 @@ def test_topic(self, config):
title='Programming Languages',
description='Programming Languages'))
topics.save(tp_proglang)
#storage.commit() # avoid "database locked" error with sqlite
tp_itc.addChild(tp_proglang)
c = list(tp_itc.children())