def test_list_to_line_break_string(): input_data = set('ab') assert list_to_line_break_string(input_data) == 'a\nb\n'
def test_list_to_line_break_string(self): input_data = set('ab') self.assertEqual(list_to_line_break_string(input_data), 'a\nb\n')