Exemplo n.º 1
0
 def test_separator_empty_args_success(self):
     separator()
     sys.stdout.seek(0)
     self.assertEquals(sys.stdout.read(), '\n\n')
Exemplo n.º 2
0
 def test_separator_empty_args_success(self):
     separator()
     sys.stdout.seek(0)
     self.assertEquals(sys.stdout.read(), '\n\n')
Exemplo n.º 3
0
 def test_separator_without_title_success(self):
     line = '----------------------------------------\n\n'
     separator(symbol='-')
     sys.stdout.seek(0)
     self.assertEquals(sys.stdout.read(), line)
Exemplo n.º 4
0
 def test_separator_without_title_success(self):
     line = '----------------------------------------\n\n'
     separator(symbol='-')
     sys.stdout.seek(0)
     self.assertEquals(sys.stdout.read(), line)