Adjust history unittest
This commit is contained in:
parent
85d8d45e19
commit
97982df1cb
@ -220,7 +220,7 @@ def test_clear(qtbot, hist, tmpdir):
|
||||
hist.add_url(QUrl('http://www.qutebrowser.org/'))
|
||||
|
||||
with qtbot.waitSignal(hist.cleared):
|
||||
hist.clear()
|
||||
hist._do_clear()
|
||||
|
||||
assert not hist_file.read()
|
||||
assert not hist.history_dict
|
||||
|
Loading…
Reference in New Issue
Block a user