Commit 9be4b229 authored by Greg Wilson's avatar Greg Wilson
Browse files

Checking future print

parent aa316f85
......@@ -5,12 +5,12 @@ import util
class TestFileList(unittest.TestCase):
def setUp(self):
self.reporter = util.Reporter(None) ## TODO: refactor reporter class.
self.reporter = util.Reporter() ## TODO: refactor reporter class.
def test_file_list_has_expected_entries(self):
# For first pass, simply assume that all required files are present
all_filenames = [item[1].replace('%', '')
for item in lesson_check.REQUIRED_FILES]
all_filenames = [filename.replace('%', '')
for filename in lesson_check.REQUIRED_FILES]
lesson_check.check_fileset('', self.reporter, all_filenames)
self.assertEqual(len(self.reporter.messages), 0)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment