Example #1
0
    def test_positive_02(self):
        "Modules.split_directory with absolute path"

        d = Modules.split_directory("/tmp/this/is/a/path")
        assert(d==['/', 'tmp', 'this', 'is', 'a', 'path'])
Example #2
0
    def test_positive_01(self):
        "Modules.split_directory with '.'"

        d = Modules.split_directory(".")
        assert(d==[])