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