/dports/shells/xonsh/xonsh-0.7.9/tests/ |
H A D | test_vox.py | 15 def test_crud(xonsh_builtins, tmpdir): argument 23 @xonsh_builtins.events.vox_on_create 28 @xonsh_builtins.events.vox_on_delete 53 def test_activate(xonsh_builtins, tmpdir): argument 59 xonsh_builtins.__xonsh_env__.setdefault("PATH", []) 63 @xonsh_builtins.events.vox_on_activate 68 @xonsh_builtins.events.vox_on_deactivate 85 def test_path(xonsh_builtins, tmpdir): argument 108 def test_crud_subdir(xonsh_builtins, tmpdir): argument 141 def test_crud_path(xonsh_builtins, tmpdir): argument [all …]
|
H A D | test_history.py | 34 def test_hist_append(hist, xonsh_builtins): argument 36 xonsh_builtins.__xonsh_env__["HISTCONTROL"] = set() 52 def test_hist_flush(hist, xonsh_builtins): argument 56 xonsh_builtins.__xonsh_env__["HISTCONTROL"] = set() 73 xonsh_builtins.__xonsh_env__["HISTCONTROL"] = set() 108 def test_cmd_field(hist, xonsh_builtins): argument 142 xonsh_builtins.__xonsh_history__ = hist 158 def test_histcontrol(hist, xonsh_builtins): argument 298 def test_construct_history_str(xonsh_builtins): argument 303 def test_construct_history_class(xonsh_builtins): argument [all …]
|
H A D | test_environ.py | 162 xonsh_builtins.__xonsh_env__ = env 165 @xonsh_builtins.events.on_envvar_change 177 xonsh_builtins.__xonsh_env__ = env 180 @xonsh_builtins.events.on_envvar_new 192 xonsh_builtins.__xonsh_env__ = env 195 @xonsh_builtins.events.on_envvar_change 208 xonsh_builtins.__xonsh_env__ = env 211 @xonsh_builtins.events.on_envvar_change 223 xonsh_builtins.__xonsh_env__ = env 226 @xonsh_builtins.events.on_envvar_new [all …]
|
H A D | test_prompt.py | 16 def formatter(xonsh_builtins): argument 80 xonsh_builtins.__xonsh_env__ = Env() 90 xonsh_builtins.__xonsh_env__ = Env() 155 def test_no_repo(xonsh_builtins): argument 167 def test_vc_get_branch(test_repo, xonsh_builtins): argument 168 xonsh_builtins.__xonsh_env__ = Env(VC_BRANCH_TIMEOUT=2) 177 cache = xonsh_builtins.__xonsh_commands_cache__ 178 xonsh_builtins.__xonsh_env__ = DummyEnv(VC_BRANCH_TIMEOUT=1) 186 xonsh_builtins argument 188 cache = xonsh_builtins.__xonsh_commands_cache__ [all …]
|
H A D | test_dirstack.py | 29 def test_simple(xonsh_builtins): argument 30 xonsh_builtins.__xonsh_env__ = Env(CDPATH=PARENT, PWD=PARENT) 37 def test_cdpath_simple(xonsh_builtins): argument 38 xonsh_builtins.__xonsh_env__ = Env(CDPATH=PARENT, PWD=HERE) 45 def test_cdpath_collision(xonsh_builtins): argument 46 xonsh_builtins.__xonsh_env__ = Env(CDPATH=PARENT, PWD=HERE) 56 def test_cdpath_expansion(xonsh_builtins): argument 75 def test_cdpath_events(xonsh_builtins, tmpdir): argument 76 xonsh_builtins.__xonsh_env__ = Env(CDPATH=PARENT, PWD=os.getcwd()) 81 @xonsh_builtins.events.on_chdir [all …]
|
H A D | test_dirstack_unc.py | 94 def test_pushdpopd(xonsh_builtins): argument 97 xonsh_builtins.__xonsh_env__ = Env(CDPATH=PARENT, PWD=HERE) 109 def test_cd_dot(xonsh_builtins): argument 110 xonsh_builtins.__xonsh_env__ = Env(PWD=os.getcwd()) 121 xonsh_builtins.__xonsh_env__ = Env(CDPATH=PARENT, PWD=HERE) 216 def test_uncpushd_push_base_push_rempath(xonsh_builtins): argument 287 def xonsh_builtins_cd(xonsh_builtins): argument 288 xonsh_builtins.__xonsh_env__["CDPATH"] = PARENT 289 xonsh_builtins.__xonsh_env__["PWD"] = os.getcwd() 290 xonsh_builtins.__xonsh_env__["DIRSTACK_SIZE"] = 20 [all …]
|
H A D | test_history_sqlite.py | 22 def test_hist_append(hist, xonsh_builtins): argument 24 xonsh_builtins.__xonsh_env__["HISTCONTROL"] = set() 39 def test_hist_attrs(hist, xonsh_builtins): argument 40 xonsh_builtins.__xonsh_env__["HISTCONTROL"] = set() 79 xonsh_builtins.__xonsh_history__ = hist 80 xonsh_builtins.__xonsh_env__["HISTCONTROL"] = set() 95 def test_histcontrol(hist, xonsh_builtins): argument 98 xonsh_builtins.__xonsh_env__["HISTCONTROL"] = "ignoredups,ignoreerr" 183 def test_history_getitem(index, exp, hist, xonsh_builtins): argument 184 xonsh_builtins.__xonsh_env__["HISTCONTROL"] = set() [all …]
|
H A D | test_base_shell.py | 10 def test_pwd_tracks_cwd(xonsh_builtins, xonsh_execer, tmpdir_factory, monkeypatch): argument 13 xonsh_builtins.__xonsh_env__ = Env( 26 xonsh_builtins.__xonsh_env__["PWD"] 28 assert "OLDPWD" in xonsh_builtins.__xonsh_env__ 30 xonsh_builtins.__xonsh_env__["OLDPWD"] 34 def test_transform(xonsh_builtins): argument 35 @xonsh_builtins.events.on_transform_command
|
H A D | test_path_completers.py | 11 def xonsh_execer_autouse(xonsh_builtins, xonsh_execer): argument 20 def test_complete_path(xonsh_builtins): argument 21 xonsh_builtins.__xonsh_env__ = { 33 def test_cd_path_no_cd(mock_add_cdpaths, xonsh_builtins): argument 34 xonsh_builtins.__xonsh_env__ = {
|
H A D | test_aliases.py | 41 def test_eval_normal(xonsh_builtins): argument 45 def test_eval_self_reference(xonsh_builtins): argument 49 def test_eval_recursive(xonsh_builtins): argument 54 def test_eval_recursive_callable_partial(xonsh_builtins): argument 55 xonsh_builtins.__xonsh_env__ = Env(HOME=os.path.expanduser("~"))
|
H A D | test_commands_cache.py | 16 def test_commands_cache_lazy(xonsh_builtins): argument 96 def test_cd_is_only_functional_alias(xonsh_builtins): argument 102 def test_non_exist_is_only_functional_alias(xonsh_builtins): argument 108 def test_bash_is_only_functional_alias(xonsh_builtins): argument 115 def test_bash_and_is_alias_is_only_functional_alias(xonsh_builtins): argument
|
H A D | test_man.py | 10 def test_man_completion(monkeypatch, tmpdir, xonsh_builtins): argument 15 xonsh_builtins.__xonsh_env__.update({"XONSH_DATA_DIR": str(tempdir)}) 16 completions = complete_from_man("--", "yes --", 4, 6, xonsh_builtins.__xonsh_env__)
|
H A D | test_tools.py | 856 def test_env_path_getitem(inp, exp, xonsh_builtins, env): argument 857 xonsh_builtins.__xonsh_env__ = env 881 xonsh_builtins.__xonsh_env__ = env 905 xonsh_builtins.__xonsh_env__ = TOOLS_ENV 1361 def test_executables_in(xonsh_builtins): argument 1439 def test_expandvars(inp, exp, xonsh_builtins): argument 1444 xonsh_builtins.__xonsh_env__ = env 1491 xonsh_builtins.__xonsh_env__ = env 1605 def test_iglobpath_no_dotfiles(xonsh_builtins): argument 1613 def test_iglobpath_dotfiles(xonsh_builtins): argument [all …]
|
H A D | test_bashisms.py | 6 def test_preproc(inp, exp, xonsh_builtins): argument 10 xonsh_builtins.__xonsh_history__.inps = ["ls\n"]
|
H A D | test_builtins.py | 48 def home_env(xonsh_builtins): argument 50 xonsh_builtins.__xonsh_env__ = Env(HOME=HOME_PATH) 51 return xonsh_builtins 154 def test_list_of_list_of_strs_outer_product(xonsh_builtins, inp, exp): argument
|
H A D | test_events.py | 159 def test_typos(xonsh_builtins): argument 160 for name, ev in vars(xonsh_builtins.events).items():
|
H A D | test_python_completers.py | 9 def xonsh_execer_autouse(xonsh_builtins, xonsh_execer): argument
|
H A D | test_execer.py | 11 def xonsh_execer_autouse(xonsh_builtins, xonsh_execer): argument
|
H A D | test_ast.py | 52 def test_multilline_num(xonsh_builtins, line1): argument
|
H A D | conftest.py | 46 def xonsh_builtins(xonsh_events): function
|
H A D | test_main.py | 22 def shell(xonsh_builtins, xonsh_execer, monkeypatch): argument
|
H A D | test_contexts.py | 11 def xonsh_execer_autouse(xonsh_builtins, xonsh_execer): argument
|
H A D | test_parser.py | 20 def xonsh_builtins_autouse(xonsh_builtins): argument 21 return xonsh_builtins
|
/dports/shells/xonsh/xonsh-0.7.9/xonsh/ |
H A D | built_ins.py | 1345 def xonsh_builtins(execer=None): function
|
/dports/shells/xonsh/xonsh-0.7.9/ |
H A D | CHANGELOG.rst | 1734 * xonsh_builtins, xonsh_execer fixtures in conftest.py
|