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