Module Expr Str ImportFrom alias alias alias alias alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Expr Call NameLoad Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Expr Call NameLoad Str Expr Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Expr Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A Tests for utility functions in tmux.

tmuxp.tests.util
~~~~~~~~~~~~~~~~

 __future__ absolute_import division print_function with_statement unicode_literals N/A logging N/A os N/A unittest helpers TmuxTestCase TestCase N/A exc exc BeforeLoadScriptNotExists BeforeLoadScriptError util has_required_tmux_version run_before_script N/A logger N/A N/A logging getLogger __name__ N/A current_dir N/A N/A N/A os path realpath N/A N/A N/A os path dirname __file__ N/A fixtures_dir N/A N/A N/A os path realpath N/A N/A N/A os path join current_dir fixtures EnvironmentVarGuard N/A object N/A N/A Class to help protect the environment variable properly.  Can be used as
    a context manager.
      Vendorize to fix issue with Anaconda Python 2 not
      including test module, see #121.
     __init__ N/A N/A self N/A N/A N/A N/A self _environ N/A os environ N/A N/A self _unset N/A set N/A N/A self _reset N/A dict N/A set N/A N/A self envvar value N/A N/A N/A N/A envvar N/A self _environ N/A N/A N/A N/A N/A self _unset add envvar N/A N/A N/A N/A self _reset N/A envvar N/A N/A self _environ N/A envvar N/A N/A N/A self _environ N/A envvar value N/A unset N/A N/A self envvar N/A N/A N/A N/A envvar N/A self _environ N/A N/A N/A N/A self _reset N/A envvar N/A N/A self _environ N/A envvar N/A N/A N/A self _environ N/A envvar N/A __enter__ N/A N/A self N/A N/A N/A self N/A __exit__ N/A N/A self N/A ignore_exc N/A N/A N/A envvar value N/A N/A N/A self _reset items N/A N/A N/A N/A self _environ N/A envvar value N/A unset N/A self _unset N/A N/A N/A N/A self _environ N/A unset N/A N/A TmuxVersionTest N/A TmuxTestCase N/A N/A Test the :meth:`has_required_tmux_version`. test_no_arg_uses_tmux_version N/A N/A self N/A N/A N/A result N/A has_required_tmux_version N/A N/A N/A self assertRegexpMatches result [0-9]\.[0-9] N/A test_ignores_letter_versions N/A N/A self N/A N/A N/A Ignore letters such as 1.8b.

        See ticket https://github.com/tony/tmuxp/issues/55.

        In version 0.1.7 this is adjusted to use LooseVersion, in order to
        allow letters.

         N/A result N/A has_required_tmux_version 1.9a N/A N/A N/A self assertRegexpMatches result [0-9]\.[0-9] N/A result N/A has_required_tmux_version 1.8a N/A N/A N/A self assertEqual result 1.8 N/A test_error_version_less_1_7 N/A N/A self N/A N/A N/A N/A N/A self assertRaisesRegexp N/A exc TmuxpException tmuxp only supports N/A N/A N/A has_required_tmux_version 1.7 N/A N/A N/A self assertRaisesRegexp N/A exc TmuxpException tmuxp only supports N/A N/A N/A has_required_tmux_version 1.6a N/A N/A has_required_tmux_version 1.9a N/A N/A RunBeforeScript N/A TestCase N/A test_raise_BeforeLoadScriptNotExists_if_not_exists N/A N/A self N/A N/A N/A script_file N/A N/A N/A os path join fixtures_dir script_noexists.sh N/A N/A N/A self assertRaises BeforeLoadScriptNotExists N/A N/A N/A run_before_script script_file N/A N/A N/A self assertRaises OSError N/A N/A N/A run_before_script script_file N/A test_raise_BeforeLoadScriptError_if_retcode N/A N/A self N/A N/A N/A script_file N/A N/A N/A os path join fixtures_dir script_failed.sh N/A N/A N/A self assertRaises BeforeLoadScriptError N/A N/A N/A run_before_script script_file N/A test_return_stdout_if_ok N/A N/A self N/A N/A N/A script_file N/A N/A N/A os path join fixtures_dir script_complete.sh N/A N/A run_before_script script_file N/A N/A BeforeLoadScriptErrorTestCase N/A TestCase N/A test_returncode N/A N/A self N/A N/A N/A script_file N/A N/A N/A os path join fixtures_dir script_failed.sh N/A N/A N/A self assertRaisesRegexp N/A exc BeforeLoadScriptError 113 N/A N/A N/A run_before_script script_file N/A test_returns_stderr_messages N/A N/A self N/A N/A N/A script_file N/A N/A N/A os path join fixtures_dir script_failed.sh N/A N/A N/A self assertRaisesRegexp N/A exc BeforeLoadScriptError failed with returncode N/A N/A N/A run_before_script script_file N/A N/A suite N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest N/A N/A unittest makeSuite BeforeLoadScriptErrorTestCase N/A N/A N/A suite addTest N/A N/A unittest makeSuite RunBeforeScript N/A N/A N/A suite addTest N/A N/A unittest makeSuite TmuxVersionTest N/A suite N/A