UseCases.FileSysObjects.normalizeSearchPathLists package

Submodules

UseCases.FileSysObjects.normalizeSearchPathLists.CallCase module

Create a plist, find a matching relative filepathname in directory tree.

Calling elementary functions.

  • Data:

    see 'testdata.examples'
    

    refer also to the manual [filesystem-elements-as-objects]

  • Call:

    # 1. make it canonical - optional, here just a demo
    clearPath(_plist,**{'redundant':True,'shrink':True})
    
  • Result:

    expected = os.path.normpath(testdata.mypath+'/examples/a/b0/c/a/b0/F1')
    
class UseCases.FileSysObjects.normalizeSearchPathLists.CallCase.UseCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

testCase000()[source]

Module contents