PgDB: Fix tests
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2023-01-06 21:10:25 +01:00
parent 01d71fef89
commit 815081d544

View file

@ -315,7 +315,7 @@ def test_delete_just_try(mocker, test_pgdb):
def test_truncate(mocker, test_pgdb):
mocker.patch(
'mylib.pgsql.PgDB.doSQL',
generate_mock_doSQL('TRUNCATE TABLE "mytable"', None)
generate_mock_doSQL('TRUNCATE TABLE "mytable"', None)
)
assert test_pgdb.truncate('mytable')