Пример #1
0
 def test_clear(self):
     # clear will raise error if TERM is not set
     if os.getenv('TERM') is None:
         os.environ['TERM'] = 'xterm'
     screen = Screen()
     screen.println('Clearing screen...')
     screen.clear()
Пример #2
0
 def test_clear(self):
     screen = Screen()
     screen.println('Clearing screen...')
     screen.clear()