Beispiel #1
0
 def test_multiple_lines_with_custom_glue(self):
     self.assertEquals(text_to_line("one\ntwo", glue="##"), "one##two")
Beispiel #2
0
 def test_array(self):
     self.assertEquals(text_to_line(["one", "two"]), "one two")
Beispiel #3
0
 def test_empty_array(self):
     self.assertEquals(text_to_line([]), "")
Beispiel #4
0
 def test_multiple_lines(self):
     self.assertEquals(text_to_line("one\ntwo"), "one two")
Beispiel #5
0
 def test_one_line(self):
     self.assertEquals(text_to_line("one"), "one")
Beispiel #6
0
 def test_empty_string(self):
     self.assertEquals(text_to_line(""), "")