Exemplo n.º 1
0
def test_add_torrent_subcommand():
    with Aria2Server(port=7508) as server:
        assert cli.subcommand_add_torrents(
            server.api,
            [TESTS_DATA_DIR / "bunsenlabs-helium-4.iso.torrent"]) == 0
Exemplo n.º 2
0
def test_add_torrent_subcommand(server):
    assert cli.subcommand_add_torrents(
        server.api, [TESTS_DATA_DIR / "bunsenlabs-helium-4.iso.torrent"]) == 0