File tree Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Expand file tree Collapse file tree 4 files changed +29
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ Changelog
4
4
5
5
Here you can find the recent changes to tmuxp.
6
6
7
- CURRENT
8
- -------
7
+ 0.1.13
8
+ ------
9
9
10
10
- [internal] Remove ``package_metadata.py `` in favor of ``__about__.py ``.
11
11
- [docs] ``scent.py `` for building docs
@@ -19,9 +19,16 @@ CURRENT
19
19
- [docs] updates to doc links
20
20
- [docs] ``make checkbuild `` for verifying internal / intersphinx doc
21
21
references.
22
+ - [internal] Add Warning tmux versions less than 1.4 from `@techtonik `_.
23
+ - [internal] [docs] Add documentation on leading space in ``send_keys ``
24
+ from `@thomasballinger `_.
25
+ - [docs] Update about page from teamocil and erb support from `@raine `_.
22
26
23
27
.. _sniffer : https://github.com/jeffh/sniffer
24
28
.. _watchingtestrunner : https://pypi.python.org/pypi/watching_testrunner/1.0
29
+ .. _@raine : https://github.com/raine
30
+ .. _@thomasballinger : https://github.com/thomasballinger
31
+ .. _@techtonik : https://github.com/techtonik
25
32
26
33
0.1.12
27
34
------
Original file line number Diff line number Diff line change 1
1
__title__ = 'tmuxp'
2
2
__package_name__ = 'tmuxp'
3
- __version__ = '0.1.12 '
3
+ __version__ = '0.1.13 '
4
4
__description__ = 'Manage tmux sessions thru JSON, YAML configs. Features Python API'
5
5
6
6
__author__ = 'Tony Narlock'
Original file line number Diff line number Diff line change @@ -846,6 +846,23 @@ def test_true_if_test_passes(self):
846
846
with self .temp_session () as session :
847
847
builder .build (session = self .session )
848
848
849
+ def test_true_if_test_passes_with_args (self ):
850
+ assert (os .path .exists (os .path .join (fixtures_dir , 'script_complete.sh' )))
851
+ sconfig = kaptan .Kaptan (handler = 'yaml' )
852
+ yaml = self .config_script_completes .format (
853
+ fixtures_dir = fixtures_dir ,
854
+ script_complete = os .path .join (fixtures_dir , 'script_complete.sh' ) + ' -v'
855
+ )
856
+
857
+ sconfig = sconfig .import_config (yaml ).get ()
858
+ sconfig = config .expand (sconfig )
859
+ sconfig = config .trickle (sconfig )
860
+
861
+ builder = WorkspaceBuilder (sconf = sconfig )
862
+
863
+ with self .temp_session () as session :
864
+ builder .build (session = self .session )
865
+
849
866
850
867
def suite ():
851
868
suite = unittest .TestSuite ()
Original file line number Diff line number Diff line change 14
14
import re
15
15
import os
16
16
import sys
17
+ import shlex
17
18
import logging
18
19
19
20
from distutils .version import StrictVersion
@@ -31,7 +32,7 @@ def run_before_script(script_file):
31
32
"""Function to wrap try/except for subprocess.check_call()."""
32
33
try :
33
34
proc = subprocess .Popen (
34
- script_file ,
35
+ shlex . split ( str ( script_file )) ,
35
36
stderr = subprocess .PIPE
36
37
)
37
38
proc .wait ()
You can’t perform that action at this time.
0 commit comments