xonsh/tests/completers
Noorhteen Raja NJ c63f75efd0
cmd cache refactor - optimize cache usage (#4954)
* todo:

* refactor: remove usage of singleton in cmd-cache

* refactor: pass aliases/env to commands_cache on creation

reduce the usage of singletons

* fix: setting up mockups for tests

* feat: add $XONSH_CACHE_DIR

* refactor: use cache path to stire cmds-cache

* chore: todo

* feat: efficient cache commands per path and modified time

* refactor: move aliases to commands cache

now XonshSession is not needed to setup cmds-cache

* refactor: update tests

* fix: type annotation

* refactor: init aliases at commands-cache

* test: update failing tests

* fix: handle paths mtime changing

* docs: add news item

* refactor: remove $COMMANDS_CACHE_SIZE_WARNING

* fix: loading on windows fails because of setup sequence

* fix: failing tests
2022-11-14 23:52:10 +05:30
..
test_base_completer.py cmd cache refactor - optimize cache usage (#4954) 2022-11-14 23:52:10 +05:30
test_bash_completer.py Fixing bash completion bug when prefix started with '>', '<', or ':' (#4826) 2022-08-06 14:37:09 +05:30
test_command_completers.py style: sort imports 2022-03-24 19:49:30 +05:30
test_completer_command.py feat: add sub-command to print current completions (#4586) 2021-12-12 08:47:47 +05:30
test_dir_completers.py style: sort imports 2022-03-24 19:49:30 +05:30
test_environment_completer.py Fix environment variable completion in strings (#4804) 2022-05-21 10:54:36 +05:30
test_gh.py chore: update tests 2022-03-24 19:49:30 +05:30
test_path_completers.py Fix tab-completion trailing space for cmd arguments that use equals sign (#4750) 2022-04-16 08:22:54 +05:30
test_pip_completer.py Update test_pip_completer.py (#4890) 2022-07-25 15:05:00 +05:30
test_python.py style: sort imports 2022-03-24 19:49:30 +05:30
test_xompletions.py gitstatus modular (#4697) 2022-03-21 11:18:36 -04:00