def test_sys_list_filter_files_nomatch(self): """Test list of filtered files from explicitly assigned directory, no files that match""" test_list = system.list_filter_files(".rb", self.dir_file_path) self.assertEqual(test_list, []) #should return empty list
def test_sys_list_filter_files(self): """Test list of filtered files from an explicitly assigned directory""" test_list = system.list_filter_files(".txt", self.dir_file_path) self.assertEqual(test_list, ["file1.txt", "file2.txt", "metadata.txt"])