UseCases.FileSysObjects.functions.findRelPathInSearchPath package

Submodules

UseCases.FileSysObjects.functions.findRelPathInSearchPath.CallCase module

Check search of a relative filepathname - side-branch - in upper tree.

class UseCases.FileSysObjects.functions.findRelPathInSearchPath.CallCase.UseCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

testCase000()[source]

Module contents

Use-Cases ‘FileSysObjects.addPathToSearchPath’

Find a matching relative filepathname in upper directory tree.

Example:

a
|-- A.txt
`-- b
    |-- B.txt
    `-- c
        |-- C.txt
        `-- d
            `-- D.txt

Before:

'C.txt'

Call:

addPathToSearchPath

After:

'a/b/c/C.txt'