Exemplo n.º 1
0
def _get_remotes(config):
    schemes = (
        get_fs_cls(get_fs_config(None, config, name=remote)).scheme
        for remote in config["remote"]
    )

    return ", ".join(schemes) or "None"
Exemplo n.º 2
0
def test_get_fs_config():
    with pytest.raises(RemoteNotFoundError):
        get_fs_config(None, {"remote": {}}, name="myremote")