We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 309315d commit e1675ccCopy full SHA for e1675cc
1 file changed
mergin/test/test_client.py
@@ -1364,6 +1364,7 @@ def _create_test_table(db_file):
1364
cursor.execute("CREATE TABLE test (fid SERIAL, txt TEXT);")
1365
cursor.execute("INSERT INTO test VALUES (123, 'hello');")
1366
cursor.execute("COMMIT;")
1367
+ con.close()
1368
1369
1370
def _create_spatial_table(db_file):
@@ -1479,6 +1480,7 @@ def test_push_gpkg_schema_change(mc):
1479
1480
# open a connection and keep it open (qgis does this with a pool of connections too)
1481
acon2 = AnotherSqliteConn(test_gpkg)
1482
acon2.run("select count(*) from simple;")
1483
+ acon2.close()
1484
1485
# add a new table to ensure that geodiff will fail due to unsupported change
1486
# (this simulates an independent reader/writer like GDAL)
0 commit comments