tests: Remove pointless CookieJar test.
There's no code between those two lines which could possibly emit that signal.
This commit is contained in:
parent
1fb34331e5
commit
f004e45566
@ -155,17 +155,6 @@ def test_cookies_changed_emit(config_stub, fake_save_manager,
|
||||
config_stub.set('content', 'cookies-store', False)
|
||||
|
||||
|
||||
def test_cookies_changed_not_emitted(config_stub, fake_save_manager,
|
||||
monkeypatch, qapp):
|
||||
"""Test that changed is not emitted when nothing changes."""
|
||||
config_stub.data = CONFIG_COOKIES_ENABLED
|
||||
monkeypatch.setattr(lineparser,
|
||||
'LineParser', LineparserSaveStub)
|
||||
jar = cookies.CookieJar()
|
||||
changed_spy = QSignalSpy(jar.changed)
|
||||
assert not changed_spy
|
||||
|
||||
|
||||
@pytest.mark.parametrize('store_cookies,empty', [
|
||||
(True, False),
|
||||
(False, True)
|
||||
|
Loading…
Reference in New Issue
Block a user