Add unit tests for urlmarks.

This commit is contained in:
Ryan Roden-Corrent 2018-02-06 11:14:01 -05:00 committed by George Edward Bulmer
parent 11696f0073
commit 5a20052bce

View File

@ -19,6 +19,7 @@
"""Tests for the global page history."""
from unittest import mock
import pytest
from PyQt5.QtCore import QUrl
@ -45,7 +46,7 @@ def test_init(bm_file, fake_save_manager):
fake_save_manager.add_saveable.assert_called_once_with(
'bookmark-manager',
bm.save,
bm.changed,
mock.ANY, # TODO: compare signal argument for equality
filename=str(bm_file),
)