7 class TestFileList(unittest.TestCase):
9 self.reporter = util.Reporter() # TODO: refactor reporter class.
11 def test_file_list_has_expected_entries(self):
12 # For first pass, simply assume that all required files are present
13 all_filenames = [filename.replace('%', '')
14 for filename in lesson_check.REQUIRED_FILES]
16 lesson_check.check_fileset('', self.reporter, all_filenames)
17 self.assertEqual(len(self.reporter.messages), 0)
20 if __name__ == "__main__":