def test_cookies_changed_emit(config_stub, fake_save_manager, monkeypatch, qtbot):
 config_stub.data = CONFIG_COOKIES_ENABLED
 monkeypatch.setattr(lineparser, 'LineParser', LineparserSaveStub)
 jar = cookies.CookieJar()
 with qtbot.waitSignal(jar.changed):
  config_stub.set('content', 'cookies-store', False)

def test_cookies_changed_emit ( config_stub , fake_save_manager , monkeypatch , qtbot ) : config_stub . data = CONFIG_COOKIES_ENABLED monkeypatch . setattr ( lineparser , 'LineParser' , LineparserSaveStub ) jar = cookies . CookieJar ( ) with qtbot . waitSignal ( jar . changed ) : config_stub . set ( 'content' , 'cookies-store' , False )
test that self .