Exemple #1
0
 def testMultipleInput(self):
     input = ['/tmp/find-files-test/folder1/', '/tmp/find-files-test/folder2/']
     self.assertEqual(len(tvorganise.find_files(input)),5)
Exemple #2
0
 def testCrapInput(self):
     self.assertEqual(len(tvorganise.find_files("belfrhe")),0)
Exemple #3
0
 def testFolderList(self):
     self.assertEqual(len(tvorganise.find_files("/tmp/find-files-test/")),5)
     self.assertEqual(len(tvorganise.find_files("/tmp/find-files-test/folder1")),2)
     self.assertEqual(len(tvorganise.find_files("/tmp/find-files-test/folder2")),3)