Exemplo n.º 1
0
 def testMultipleInput(self):
     input = ['/tmp/find-files-test/folder1/', '/tmp/find-files-test/folder2/']
     self.assertEqual(len(tvorganise.find_files(input)),5)
Exemplo n.º 2
0
 def testCrapInput(self):
     self.assertEqual(len(tvorganise.find_files("belfrhe")),0)
Exemplo n.º 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)