test_raw.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:exdir 作者: CINPLA 项目源码 文件源码
def test_raw_init(setup_teardown_folder):
    raw = Raw(setup_teardown_folder[2], pathlib.PurePosixPath(""), "test_object", io_mode=None)

    assert raw.root_directory == setup_teardown_folder[2]
    assert raw.object_name == "test_object"
    assert raw.parent_path == pathlib.PurePosixPath("")
    assert raw.io_mode is None
    assert raw.relative_path == pathlib.PurePosixPath("test_object")
    assert raw.name == "/test_object"
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号