From 252f9a87ac72a5c6b29bbddb2061e6192b42f092 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 27 Apr 2022 17:11:02 +0200 Subject: [PATCH] tests: fix oracle test_truncate --- tests/test_oracle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_oracle.py b/tests/test_oracle.py index 594fee0..e810dab 100644 --- a/tests/test_oracle.py +++ b/tests/test_oracle.py @@ -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')