def test_build_report_no_such_file(self): no_such_file_instance = FileSet('12', 'jack') print no_such_file_instance.build_report() assert no_such_file_instance.build_report() == ('Processing DIRECTORY\n' 'Base: 12\n' 'Type: jack\n' 'Files: 8\n' ' Array.jack\n' ' Keyboard.jack\n' ' Math.jack\n' ' Memory.jack\n' ' Output.jack\n' ' Screen.jack\n' ' String.jack\n' ' Sys.jack\n')
def test_build_report_no_such_file(self): no_such_file_instance = FileSet('not_here', 'jack') assert no_such_file_instance.build_report() == ('Processing FILE\n' 'Base: not_here\n' 'Type: jack\n' 'Files: 0\n')