Ejemplo n.º 1
0
def test_netscape_bookmarks(capsys):
    importer.import_netscape_bookmarks(sample_input('netscape'),
                                       ['bookmark', 'keyword'], 'bookmark')
    imported = capsys.readouterr()[0]
    assert imported == bm_expected('netscape')
Ejemplo n.º 2
0
def test_netscape_searches(capsys):
    importer.import_netscape_bookmarks(
        sample_input('netscape'), ['search'], 'search')
    imported = capsys.readouterr()[0]
    assert imported == search_expected('netscape')
Ejemplo n.º 3
0
def test_netscape_searches(capsys):
    importer.import_netscape_bookmarks(sample_input('netscape'), ['search'],
                                       'search')
    imported = capsys.readouterr()[0]
    assert imported == search_expected('netscape')
Ejemplo n.º 4
0
def test_netscape_quickmarks(capsys):
    importer.import_netscape_bookmarks(
        sample_input('netscape'), ['bookmark', 'keyword'], 'quickmark')
    imported = capsys.readouterr()[0]
    assert imported == qm_expected('netscape')