Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(16)  |  Call(14)  |  Derive(0)  |  Import(2)

src/r/o/ro-manager-HEAD/src/MiscUtils/tests/TestScanDirectories.py   ro-manager(Download)
sys.path.append("../..")
from MiscUtils.ScanDirectories import CollectDirectoryContents
from MiscUtils.Functions import compareLists
from MiscUtils import TestUtils
 
                   , "resources/TestScanFilesSubDir"
                   ]
        c = compareLists(dirs, expected)
        assert c == None, "Wrong directory list: "+repr(c)
 
                   , "resources/TestScanFilesSubDir"
                   ]
        c = compareLists(dirs, expected)
        assert c == None, "Wrong directory list: "+repr(c)
 
                   , "resources/TestScanFilesSubDir"
                   ]
        c = compareLists(dirs, expected)
        assert c == None, "Wrong directory list: "+repr(c)
 
                   , self.basePath+"/resources/TestScanFilesSubDir"
                   ]
        c = compareLists(dirs, expected)
        assert c == None, "Wrong directory list: "+repr(c)
 

src/r/o/ro-manager-HEAD/src/MiscUtils/tests/TestScanFiles.py   ro-manager(Download)
sys.path.append("../..")
from MiscUtils.ScanFiles import *
from MiscUtils.Functions import compareLists
 
class TestScanFiles(unittest.TestCase):
                   , (self.testpath,"TestScanFiles2.txt")
                   ]
        c = compareLists(files, expected)
        assert c == None, "Wrong file list: "+repr(c)
 
                   , (self.testpath+"TestScanFilesSubDir","TestScanFiles32.txt")
                   ]
        c = compareLists(files, expected)
        assert c == None, "Wrong file list: "+repr(c)