This commit is contained in:
parent
01d71fef89
commit
815081d544
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ def test_delete_just_try(mocker, test_pgdb):
|
||||||
def test_truncate(mocker, test_pgdb):
|
def test_truncate(mocker, test_pgdb):
|
||||||
mocker.patch(
|
mocker.patch(
|
||||||
'mylib.pgsql.PgDB.doSQL',
|
'mylib.pgsql.PgDB.doSQL',
|
||||||
generate_mock_doSQL('TRUNCATE TABLE "mytable"', None)
|
generate_mock_doSQL('TRUNCATE TABLE "mytable"', None)
|
||||||
)
|
)
|
||||||
|
|
||||||
assert test_pgdb.truncate('mytable')
|
assert test_pgdb.truncate('mytable')
|
||||||
|
|
Loading…
Reference in a new issue