Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)