When source files are spread over different folders. Name space packages can be imported by adding the relateve folders to sys path like. for instance when test scripts separated from source files, in the test script the following can get the source file in scope.
import sys sys.path += ["../parentfolder/subfolder"]
Path needs to be added before the import statements of the files in the related folder.