def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def test_scheme_not_supported():

    with pytest.raises(NotImplementedError):
        UrlPath('http:///tmp/test').touch()