Skip to content

Commit a664665

Browse files
committed
CHANGELOG, util.get_version rename to util.is_version, test_window.KillWindow create second window to avoid dumping test client out of client
1 parent 5d66126 commit a664665

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CHANGES

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ tmuxp Changelog
33

44
Here you can find the recent changes to tmuxp.
55

6+
2013-10-31
7+
----------
8+
9+
- [internal] :meth:`util.is_version()`
10+
- [config] [tests]: correctly :meth:`config.trickle()` the ``start_directory``.
11+
- [config] [tests]: get ``start_directory`` working for configs
12+
613
2013-10-30
714
----------
815

tmuxp/testsuite/test_window.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,12 @@ class RenameSpacesTest(RenameTest):
152152
class KillWindow(TmuxTestCase):
153153

154154
def test_kill_window(self):
155+
self.session.new_window()
156+
# create a second window to not kick out the client.
157+
# there is another way to do this via options too.
158+
155159
w = self.session.attached_window()
160+
156161
w.get('window_id')
157162

158163
w.kill_window()

tmuxp/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def which(exe=None):
218218
logger.error('No executable was passed to be searched by which')
219219
return None
220220

221-
def get_version(version):
221+
def is_version(version):
222222
""" Return True if tmux version installed.
223223
224224
:param version: version, '1.8'

0 commit comments

Comments
 (0)