def test_multiple_lines_with_custom_glue(self): self.assertEquals(text_to_line("one\ntwo", glue="##"), "one##two")
def test_array(self): self.assertEquals(text_to_line(["one", "two"]), "one two")
def test_empty_array(self): self.assertEquals(text_to_line([]), "")
def test_multiple_lines(self): self.assertEquals(text_to_line("one\ntwo"), "one two")
def test_one_line(self): self.assertEquals(text_to_line("one"), "one")
def test_empty_string(self): self.assertEquals(text_to_line(""), "")