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:
Ryan Roden-Corrent 2016-06-16 23:22:53 -04:00
parent 16f043034f
commit d49fa7c4a3

View File

@ -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')