def test_delay_default(self): s = Session(self.session_name, enable_auto_advance=True) s.teletype("echo 'this is the default delay'") s.send_keys('Enter', literal=False)
def test_delay_set_by_session_attribute(self): s = Session(self.session_name, enable_auto_advance=True, teletype_delay=10) s.teletype("echo 'this is the delay set on the session at-large'") s.send_keys('Enter', literal=False)
def test_delay_set_by_argument(self): s = Session(self.session_name, enable_auto_advance=True) s.teletype("echo 'this is the delay set on the method'", delay=10) s.send_keys('Enter', literal=False)