def test_newlines():
 superConsole.SendKeys('outputRedirectStart{(}{)}{ENTER}')
 superConsole.SendKeys('{ENTER}')
 superConsole.SendKeys('None{ENTER}')
 superConsole.SendKeys('{ENTER}{ENTER}{ENTER}')
 superConsole.SendKeys('outputRedirectStop{(}{)}{ENTER}')
 for lines in getTestOutput():
  AreEqual(removePrompts(lines), [])

def test_newlines ( ) : superConsole . SendKeys ( 'outputRedirectStart{(}{)}{ENTER}' ) superConsole . SendKeys ( '{ENTER}' ) superConsole . SendKeys ( 'None{ENTER}' ) superConsole . SendKeys ( '{ENTER}{ENTER}{ENTER}' ) superConsole . SendKeys ( 'outputRedirectStop{(}{)}{ENTER}' ) for lines in getTestOutput ( ) : AreEqual ( removePrompts ( lines ) , [ ] )
ensure empty lines do not break the console .