def test_download_model(qapp, qtmodeltester, config_stub, cookiejar_and_cache):
 config_stub.data = {'general': {'private-browsing': False}}
 manager = qtnetworkdownloads.DownloadManager(win_id=0)
 model = downloads.DownloadModel(manager)
 qtmodeltester.check(model)

def test_download_model ( qapp , qtmodeltester , config_stub , cookiejar_and_cache ) : config_stub . data = { 'general' : { 'private-browsing' : False } } manager = qtnetworkdownloads . DownloadManager ( win_id = 0 ) model = downloads . DownloadModel ( manager ) qtmodeltester . check ( model )
simple check for download model internals .