Ejemplo n.º 1
0
 def test_multiple(self):
     expected = "|---+---|"
     table = Table([("a", None), ("b", None)])
     line = table._render_sep_line("|", "|", "-", "+")
     self.assertEqual(line, expected)
Ejemplo n.º 2
0
 def test_empty(self):
     expected = "||"
     table = Table([])
     line = table._render_sep_line("|", "|", "-", "+")
     self.assertEqual(line, expected)