chg: test: test caplog for other inputs

This commit is contained in:
rachmadaniHaryono 2020-08-10 08:13:21 +08:00
parent 0c59358435
commit b7cf30841f

View File

@ -1060,6 +1060,8 @@ def test_update_rec_update_all_bookmark(caplog, read_in_retval):
assert caplog.records[0].getMessage() == \
"update_rec query: " \
"\"UPDATE bookmarks SET tags = ?\", args: [',tags1,']"
else:
assert not caplog.records
@pytest.mark.parametrize(