Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 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)
Exemplo n.º 4
0
 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)
Exemplo n.º 5
0
 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)
Exemplo n.º 6
0
 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)