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):
235235 """
236236
237237 def test_automatic_rename_option (self ):
238- """ with option automatic-rename: on. """
238+ """With option automatic-rename: on."""
239239 s = self .session
240240 sconfig = kaptan .Kaptan (handler = 'yaml' )
241241 sconfig = sconfig .import_config (self .yaml_config ).get ()
@@ -262,6 +262,7 @@ def test_automatic_rename_option(self):
262262 w = s .windows [0 ]
263263
264264 for i in range (30 ):
265+ self .session .server ._update_windows ()
265266 if w .get ('window_name' ) != 'man' :
266267 break
267268 time .sleep (.2 )
@@ -281,6 +282,7 @@ def test_automatic_rename_option(self):
281282
282283 w .select_pane ('-D' )
283284 for i in range (30 ):
285+ self .session .server ._update_windows ()
284286 if w ['window_name' ] != 'man' :
285287 break
286288 time .sleep (.2 )
@@ -304,7 +306,9 @@ def test_blank_pane_count(self):
304306 window1 = self .session .findWhere ({'window_name' : 'Blank pane test' })
305307 self .assertEqual (len (window1 ._panes ), 6 )
306308
307- window1 = self .session .findWhere ({'window_name' : 'Empty string (return)' })
309+ window1 = self .session .findWhere (
310+ {'window_name' : 'Empty string (return)' }
311+ )
308312 self .assertEqual (len (window1 ._panes ), 3 )
309313
310314 self .assertEqual (self .session , builder .session )
You can’t perform that action at this time.
0 commit comments