File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 7
7
8
8
9
9
def console_to_str (s ):
10
- """ From pypa/pip project, pip.backwardwardcompat. License MIT. """
10
+ """From pypa/pip project, pip.backwardwardcompat. License MIT."""
11
11
try :
12
12
return s .decode (console_encoding , 'ignore' )
13
13
except UnicodeDecodeError :
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def clear(self):
148
148
self .send_keys ('reset' )
149
149
150
150
def reset (self ):
151
- """Reset and clear pane history. """
151
+ """Reset and clear pane history."""
152
152
153
153
self .cmd ('send-keys' , r'-R \; clear-history' )
154
154
Original file line number Diff line number Diff line change 5
5
6
6
7
7
def test_resize_pane (session ):
8
- """ Test Pane.resize_pane(). """
8
+ """Test Pane.resize_pane()."""
9
9
10
10
window = session .attached_window
11
11
window .rename_window ('test_resize_pane' )
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ def test_socket_name(server):
25
25
26
26
27
27
def test_socket_path (server ):
28
- """ ``-S`` socket_path (alternative path for server socket). """
28
+ """``-S`` socket_path (alternative path for server socket)."""
29
29
myserver = Server (socket_path = 'test' )
30
30
31
31
assert myserver .socket_path == 'test'
32
32
33
33
34
34
def test_config (server ):
35
- """ ``-f`` file for tmux(1) configuration. """
35
+ """``-f`` file for tmux(1) configuration."""
36
36
myserver = Server (config_file = 'test' )
37
37
assert myserver .config_file == 'test'
38
38
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def test_attached_pane(session):
94
94
95
95
96
96
def test_split_window (session ):
97
- """Window.split_window() splits window, returns new Pane, vertical. """
97
+ """Window.split_window() splits window, returns new Pane, vertical."""
98
98
window_name = 'test split window'
99
99
window = session .new_window (window_name = window_name , attach = True )
100
100
pane = window .split_window ()
@@ -119,7 +119,7 @@ def test_split_window_shell(session):
119
119
120
120
121
121
def test_split_window_horizontal (session ):
122
- """Window.split_window() splits window, returns new Pane, horizontal. """
122
+ """Window.split_window() splits window, returns new Pane, horizontal."""
123
123
window_name = 'test split window'
124
124
window = session .new_window (window_name = window_name , attach = True )
125
125
pane = window .split_window (vertical = False )
You can’t perform that action at this time.
0 commit comments