diff --git a/tmuxp/testsuite/workspacebuilder.py b/tmuxp/testsuite/workspacebuilder.py index 79b53299edc..85022a9083e 100644 --- a/tmuxp/testsuite/workspacebuilder.py +++ b/tmuxp/testsuite/workspacebuilder.py @@ -238,7 +238,7 @@ def test_suppress_history(self): builder = WorkspaceBuilder(sconf=sconfig) builder.build(session=self.session) - time.sleep(0.2) # give .bashrc, etc. time to load + time.sleep(0.3) # give .bashrc, etc. time to load s.server._update_windows() for w in s.windows: @@ -250,7 +250,7 @@ def test_suppress_history(self): # Print the last-in-history command in the pane self.session.cmd('send-keys', ' fc -ln -1') self.session.cmd('send-keys', 'Enter') - time.sleep(0.01) # give fc time to run + time.sleep(0.1) # give fc time to run # Get the contents of the pane self.session.cmd('capture-pane') @@ -269,7 +269,7 @@ def test_suppress_history(self): self.assertNotEqual(sent_cmd, history_cmd) # Something went wrong else: - self.assertTrue(False) + self.fail("Unknown sent command: [%s]" % sent_cmd) class WindowOptions(TmuxTestCase):