예제 #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 == [])