xonsh/tests
Noorhteen Raja NJ 38295a1dd9
Remove globals (#4280)
* refactor: remove usage of global variables in abbrevs.py

* chore: add flake8-mutable to prevent mutable defaults

* fix: abbrevs expand test

* refactor: add xonsh session singleton

* refactor: fix circular errors when using xonshSession as singleton

* refactor: remove black magicked builtin attributes

* style: black format tests as well

* refactor: update tests to use xonsh-session singleton

* refactor: update abbrevs to not use builtins

* test: remove DummyCommandsCache and patch orig class

* fix: failing test_command_completers

* test: use monkeypatch to update xession fixture

* fix: failing test_pipelines

* fix: failing test_main

* chore: run test suit as single invocation

* test: fix tests/test_xonsh.xsh

* refactor: remove builtins from docs/conf.py

* fix: mypy error in jobs

* fix: test error from test_main

* test: close xession error in test_command_completers

* chore: use pytest-cov for reporting coverage

this will include subprocess calls, and will increase coverage

* style:
2021-05-20 13:14:26 +03:00
..
aliases Remove globals (#4280) 2021-05-20 13:14:26 +03:00
bin Run same wc,pwd,cat from tests/bin on Windows. 2020-08-10 01:43:51 -04:00
completers Remove globals (#4280) 2021-05-20 13:14:26 +03:00
fake_lib more mocks for test_xonfig_kernel 2020-09-23 04:35:44 -04:00
histories Fix tests 2020-09-23 21:15:37 +02:00
man1 tests for man completion 2015-06-17 22:58:05 +02:00
procs Remove globals (#4280) 2021-05-20 13:14:26 +03:00
prompt Remove globals (#4280) 2021-05-20 13:14:26 +03:00
scripts xonsh script.xsh should not fail over 2017-01-11 21:59:42 +08:00
test_lib Fix legitimate builtins has no attribute __xonsh__ errors 2020-08-10 13:24:10 +02:00
xontribs Remove globals (#4280) 2021-05-20 13:14:26 +03:00
xpack test subpackage 2015-03-29 22:53:33 -05:00
.somedotfile dotfile matching 2018-09-12 18:12:02 -04:00
bashrc.sh added tests for foreign shells 2015-10-10 19:52:53 -04:00
batch.bat Add test for sourcing bat file on windows 2016-04-18 00:41:11 +02:00
conftest.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
run_pwd.xsh more fixes 2016-09-09 00:58:32 -04:00
sample.xsh fixed up dashing 2018-11-08 13:16:44 -05:00
test_aliases.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_ansi_colors.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_ast.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_base_shell.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_bashisms.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_builtins.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_cli_utils.py Completer py api (#4018) 2020-12-16 14:26:22 -05:00
test_color_tools.py Fix tests 2020-09-23 21:15:37 +02:00
test_commands_cache.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_completer.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_completion_context.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_contexts.py black tests 2018-08-30 09:18:49 -05:00
test_dirstack.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_dirstack_unc.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_environ.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_events.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_execer.py Fix annotated assignment (#4278) 2021-05-12 12:39:11 -04:00
test_foreign_shells.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_history_dummy.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_history_json.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_history_sqlite.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_imphooks.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_integrations.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_jsonutils.py black tests 2018-08-30 09:18:49 -05:00
test_jupyter_kernel.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_lazyasd.py black tests 2018-08-30 09:18:49 -05:00
test_lazyjson.py black tests 2018-08-30 09:18:49 -05:00
test_lexer.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_main.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_man.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_mpl.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_news.py Remove vended ptk (#4107) 2021-03-01 11:56:32 -05:00
test_parser.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_path_completers.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_pipelines.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_platform.py black tests 2018-08-30 09:18:49 -05:00
test_ptk_completer.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_ptk_highlight.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_ptk_history.py black updates to tests and docs 2020-08-26 10:10:59 -05:00
test_ptk_multiline.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_ptk_shell.py Cleanup remaining vended ptk bits (#4130) 2021-03-01 16:55:23 -05:00
test_pyghooks.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_python_completers.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_readline_shell.py black updates to tests and docs 2020-08-26 10:10:59 -05:00
test_shell.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_tools.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_vox.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_wizard.py Flake8 1 (#3550) 2020-05-05 06:42:28 -04:00
test_xonfig.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_xonsh.xsh Remove globals (#4280) 2021-05-20 13:14:26 +03:00
test_xontribs.py refactor: replace xontribs.json with xontribs_meta.py 2020-11-10 22:12:27 +05:30
test_xoreutils.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00
tools.py Remove globals (#4280) 2021-05-20 13:14:26 +03:00