예제 #1
0
		def test_sys_list_all_files_emptydir(self):
			"""Test list of all files from an explicitly assigned directory that is empty"""
			test_list = system.list_all_files(os.path.join(self.dir_file_path, "emptydir"))
			self.assertEqual(test_list, []) #should return empty list
예제 #2
0
		def test_sys_list_all_files(self):
			"""Test list of all files from an explicitly assigned directory"""
			test_list = system.list_all_files(self.dir_file_path)
			self.assertEqual(test_list, self.dir_file_list)