tests: fix oracle test_truncate

This commit is contained in:
Benjamin Renard 2022-04-27 17:11:02 +02:00
parent bca3f4f347
commit 252f9a87ac

View file

@ -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')