xonsh/tests
Aidan Courtney 58e2856145
Fix: exception when completing in python-only context (#5632)
* Fix: change xonsh/completer.py:Completer.complete_with_context and xonsh/completer.py:Completer.complete_line to use the python context prefix if available. Add simple regression test: tests/test_completer.py:test_python_only_context

* Add news item

* Fix: misspelled 'command'

* Update fix_python_only_completion.rst

* Update fix_python_only_completion.rst

---------

Co-authored-by: Andy Kipp <anki-code@users.noreply.github.com>
2024-07-27 21:03:35 +05:30
..
aliases fix locate_file (#5606) 2024-07-18 10:53:00 +02:00
api refactoring: create xonsh.api, update xonsh.lib (#5557) 2024-06-29 11:58:11 +02:00
bin Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
built_ins refactoring: move tests to component dirs: lib, procs (#5558) 2024-06-29 11:23:16 +02:00
completers fix: argparse based completions should work in newer python versions (#5542) 2024-06-27 11:55:39 +05:30
history refactoring: move lazy to lib (#5560) 2024-06-29 12:19:08 +02:00
lib refactoring: move lazy to lib (#5560) 2024-06-29 12:19:08 +02:00
man1 improve completers (#4648) 2022-01-27 21:22:36 +05:30
parsers refactoring: restore parser to backwards compatibility after refactoring (#5571) 2024-07-03 10:33:17 +02:00
platform refactoring: move platform, winutils, macutils to platform submodule (#5549) 2024-06-29 02:01:15 +02:00
procs executables: Added `locate_relative_path functionality to locate_file`. (#5630) 2024-07-25 12:56:30 +05:30
prompt Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
scripts xonsh script.xsh should not fail over 2017-01-11 21:59:42 +08:00
shell refactoring: deprecation warnings and revert shell moving for backwards compatibility (#5575) 2024-07-04 17:24:04 +02:00
xoreutils Py 312 pre-liminary support (#5156) 2023-07-04 22:18:37 +05:30
xpack fix: do not append empty/comment-only input to history (#4822) 2022-05-26 17:50:08 +05:30
.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 Fix vox env dir (#4736) 2022-03-27 17:12:52 +05:30
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 aliases: fix expand_alias (#5598) 2024-07-13 14:55:46 +02:00
test_ansi_colors.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_builtins.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_cli_utils.py Fix argparser (#5421) 2024-05-16 16:31:05 +05:30
test_color_tools.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_commands_cache.py Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
test_completer.py Fix: exception when completing in python-only context (#5632) 2024-07-27 21:03:35 +05:30
test_completion_context.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_contexts.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_dirstack.py tools: added `mkdir to xonsh.tools.chdir` (#5589) 2024-07-10 22:49:57 +02:00
test_dirstack_unc.py refactor: update line length to default setting 2024-04-16 11:23:35 -04:00
test_environ.py refactoring: tests for case when env var is class with repr. (#5583) 2024-07-05 23:23:36 +02:00
test_events.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_execer.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_foreign_shells.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_imphooks.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_integrations.py executables: Added `locate_relative_path functionality to locate_file`. (#5630) 2024-07-25 12:56:30 +05:30
test_main.py refactoring: fix test_main on mac (#5570) 2024-07-03 08:10:03 +02:00
test_man.py style: sort imports 2022-03-24 19:49:30 +05:30
test_news.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_pyghooks.py refactoring: move lazy to lib (#5560) 2024-06-29 12:19:08 +02:00
test_tools.py Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
test_virtualenv_activator.py fix: update virtualenv activator (#5419) 2024-05-16 14:29:48 +05:30
test_xonsh.xsh Remove globals (#4280) 2021-05-20 13:14:26 +03:00