Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tmuxp/testsuite/workspacebuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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')
Expand All @@ -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):
Expand Down