示例#1
0
文件: TestModules.py 项目: apre/rmtoo
    def test_positive_02(self):
        "InputModules._split_directory with absolute path"

        d = InputModules._split_directory("/tmp/this/is/a/path")
        assert(d == ['/', 'tmp', 'this', 'is', 'a', 'path'])
示例#2
0
    def test_positive_02(self):
        "InputModules._split_directory with absolute path"

        d = InputModules._split_directory("/tmp/this/is/a/path")
        assert (d == ['/', 'tmp', 'this', 'is', 'a', 'path'])
示例#3
0
文件: TestModules.py 项目: apre/rmtoo
    def test_positive_01(self):
        "InputModules._split_directory with '.'"

        d = InputModules._split_directory(".")
        assert(d == [])
示例#4
0
    def test_positive_01(self):
        "InputModules._split_directory with '.'"

        d = InputModules._split_directory(".")
        assert (d == [])