Skip to content

Commit 1925ab9

Browse files
committed
pep8 test_workspacebuilder
1 parent b34839e commit 1925ab9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tests/test_workspacebuilder.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -310,20 +310,22 @@ def assert_last_line(p, s):
310310
return correct
311311

312312
for i, pane in enumerate(session.attached_window.panes):
313-
assert assert_last_line(pane, str(i)), \
314-
"Initial command did not execute properly/" + str(i)
313+
assert assert_last_line(pane, str(i)), (
314+
"Initial command did not execute properly/" + str(i)
315+
)
315316
pane.cmd('send-keys', 'Up') # Will repeat echo
316317
pane.enter() # in each iteration
317318
assert assert_last_line(pane, str(i)), (
318-
"Repeated command did not execute properly/" + str(i)
319+
"Repeated command did not execute properly/" + str(i)
319320
)
320321

321322
session.cmd('send-keys', ' echo moo')
322323
session.cmd('send-keys', 'Enter')
323324

324325
for pane in session.attached_window.panes:
325-
assert assert_last_line(pane, 'moo'), \
326-
"Synchronized command did not execute properly"
326+
assert assert_last_line(pane, 'moo'), (
327+
"Synchronized command did not execute properly"
328+
)
327329

328330

329331
def test_window_shell(session):

0 commit comments

Comments
 (0)