コード例 #1
0
ファイル: test_fs_extras.py プロジェクト: otron/xrootdfs
def test_setcontents(tmppath):
    """Test setcontents."""
    fs = XRootDFS(mkurl(tmppath))
    fs.setcontents('data/testa.txt', "mytest")
    assert fs.getcontents('data/testa.txt') == "mytest"