tests: fix oracle test_truncate
This commit is contained in:
parent
bca3f4f347
commit
252f9a87ac
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ def test_delete_just_try(mocker, test_oracledb):
|
||||||
def test_truncate(mocker, test_oracledb):
|
def test_truncate(mocker, test_oracledb):
|
||||||
mocker.patch(
|
mocker.patch(
|
||||||
'mylib.oracle.OracleDB.doSQL',
|
'mylib.oracle.OracleDB.doSQL',
|
||||||
generate_mock_doSQL('TRUNCATE "mytable"', None)
|
generate_mock_doSQL('TRUNCATE TABLE "mytable"', None)
|
||||||
)
|
)
|
||||||
|
|
||||||
assert test_oracledb.truncate('mytable')
|
assert test_oracledb.truncate('mytable')
|
||||||
|
|
Loading…
Reference in a new issue