def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def test_scheme_not_listed():

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