File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ class WindowAutomaticRename(TmuxTestCase):
235
235
"""
236
236
237
237
def test_automatic_rename_option (self ):
238
- """ with option automatic-rename: on. """
238
+ """With option automatic-rename: on."""
239
239
s = self .session
240
240
sconfig = kaptan .Kaptan (handler = 'yaml' )
241
241
sconfig = sconfig .import_config (self .yaml_config ).get ()
@@ -262,6 +262,7 @@ def test_automatic_rename_option(self):
262
262
w = s .windows [0 ]
263
263
264
264
for i in range (30 ):
265
+ self .session .server ._update_windows ()
265
266
if w .get ('window_name' ) != 'man' :
266
267
break
267
268
time .sleep (.2 )
@@ -281,6 +282,7 @@ def test_automatic_rename_option(self):
281
282
282
283
w .select_pane ('-D' )
283
284
for i in range (30 ):
285
+ self .session .server ._update_windows ()
284
286
if w ['window_name' ] != 'man' :
285
287
break
286
288
time .sleep (.2 )
@@ -304,7 +306,9 @@ def test_blank_pane_count(self):
304
306
window1 = self .session .findWhere ({'window_name' : 'Blank pane test' })
305
307
self .assertEqual (len (window1 ._panes ), 6 )
306
308
307
- window1 = self .session .findWhere ({'window_name' : 'Empty string (return)' })
309
+ window1 = self .session .findWhere (
310
+ {'window_name' : 'Empty string (return)' }
311
+ )
308
312
self .assertEqual (len (window1 ._panes ), 3 )
309
313
310
314
self .assertEqual (self .session , builder .session )
You can’t perform that action at this time.
0 commit comments