Clean up objreg after test_history.
test_init in test_history was leaving a web-history in the objreg, which was interfering with the completion tests.
This commit is contained in:
parent
16f043034f
commit
d49fa7c4a3
@ -391,3 +391,4 @@ def test_init(qapp, tmpdir, monkeypatch, fake_save_manager):
|
||||
assert hist.parent() is qapp
|
||||
assert QWebHistoryInterface.defaultInterface()._history is hist
|
||||
assert fake_save_manager.add_saveable.called
|
||||
objreg.delete('web-history')
|
||||
|
Loading…
Reference in New Issue
Block a user