tests: fix oracle test_truncate

master
Benjamin Renard 9 months ago
parent bca3f4f347
commit 252f9a87ac

@ -307,7 +307,7 @@ def test_delete_just_try(mocker, test_oracledb):
def test_truncate(mocker, test_oracledb):
mocker.patch(
'mylib.oracle.OracleDB.doSQL',
generate_mock_doSQL('TRUNCATE "mytable"', None)
generate_mock_doSQL('TRUNCATE TABLE "mytable"', None)
)
assert test_oracledb.truncate('mytable')

Loading…
Cancel
Save