1
0

tests: fix test_find_path_for_payment. need to close sqlite connection

test was sometimes randomly failing
(always on Windows, as it's illegal to rm open files there)
This commit is contained in:
SomberNight
2019-09-22 21:21:24 +02:00
parent 04edad9984
commit ec372adbb9
2 changed files with 5 additions and 1 deletions

View File

@@ -54,4 +54,5 @@ class SqlDB(Logger):
self.conn.commit()
# write
self.conn.commit()
self.conn.close()
self.logger.info("SQL thread terminated")