@@ -93,9 +93,6 @@ def test_zfresh_window_data(self):
9393class NewTest2 (TmuxTestCase ):
9494
9595 def test_newest_pane_data (self ):
96- # self.session.select_window(1)
97- #
98- #
9996 window = self .session .new_window (window_name = 'test' , attach = True )
10097 self .assertIsInstance (window , Window )
10198 self .assertEqual (1 , len (window .panes ))
@@ -111,7 +108,7 @@ def test_newest_pane_data(self):
111108class NewTest3 (TmuxTestCase ):
112109
113110 def test_attached_pane (self ):
114- """Window.attached_window() returns active Pane"""
111+ """Window.attached_window() returns active Pane. """
115112
116113 window = self .session .attached_window () # current window
117114 self .assertIsInstance (window .attached_pane (), Pane )
@@ -134,7 +131,7 @@ class RenameTest(TmuxTestCase):
134131 window_name_after = 'ha ha ha fjewlkjflwef'
135132
136133 def test_window_rename (self ):
137- """Window.rename_window.rename_window() """
134+ """Window.rename_window(). """
138135 self .session .set_option ('automatic-rename' , 'off' )
139136 window = self .session .new_window (
140137 window_name = self .window_name_before , attach = True )
@@ -183,8 +180,7 @@ def test_show_window_options(self):
183180 self .assertIsInstance (options , dict )
184181
185182 def test_set_show_window_options (self ):
186- """Set option then Window.show_window_options(key)
187- """
183+ """Set option then Window.show_window_options(key)."""
188184 window = self .session .new_window (window_name = 'test_window' )
189185
190186 window .set_window_option ('main-pane-height' , 20 )
@@ -196,8 +192,7 @@ def test_set_show_window_options(self):
196192 self .assertEqual (40 , window .show_window_options ()['main-pane-height' ])
197193
198194 def test_show_window_option (self ):
199- """Set option then Window.show_window_option(key)
200- """
195+ """Set option then Window.show_window_option(key)."""
201196 window = self .session .new_window (window_name = 'test_window' )
202197
203198 window .set_window_option ('main-pane-height' , 20 )
@@ -209,7 +204,7 @@ def test_show_window_option(self):
209204 self .assertEqual (40 , window .show_window_option ('main-pane-height' ))
210205
211206 def test_set_window_option_bad (self ):
212- """Window.set_window_option raises ValueError for bad option key"""
207+ """Window.set_window_option raises ValueError for bad option key. """
213208
214209 window = self .session .new_window (window_name = 'test_window' )
215210
0 commit comments