fixtures
tmux(tmpdir_factory, request, pytestconfig, _tmux_server, tmux_session_config, tmux_assertion_config)
Fixture intended to be used with tmux tests
Scope: function
Returns:
Type | Description |
---|---|
Generator[TmuxClient, None, None]
|
A pytest_tmux.client.TmuxClient object |
Source code in pytest_tmux/fixtures.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
|
tmux_assertion_config()
Fixture intended to be override by the user to update default tmux assertion config
Scope: function
Returns:
Type | Description |
---|---|
Dict[str, Union[str, int]]
|
a dictionnary containing args for : |
Source code in pytest_tmux/fixtures.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
|
tmux_server_config()
Fixture intended to be override by the user to update default tmux server config
Scope : session
Returns:
Type | Description |
---|---|
Dict[str, Union[str, int]]
|
a dictionnary containing args for libtmux.server.Server |
Source code in pytest_tmux/fixtures.py
13 14 15 16 17 18 19 20 21 22 23 |
|
tmux_session_config()
Fixture intended to be override by the user to update default tmux session config.
Scope: function
Returns:
Type | Description |
---|---|
Dict[str, Union[str, int]]
|
a dictionnary containing args for libtmux.server.Server.new_session |
Source code in pytest_tmux/fixtures.py
26 27 28 29 30 31 32 33 34 35 36 37 |
|