Commit graph

9 commits

Author SHA1 Message Date
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
Anthony Scopatz
4c91df2abc many test fixes 2018-09-13 14:03:35 -04:00
Hugo Wang
e63c57acd5 update test cases 2017-02-15 12:01:04 +08:00
Anthony Scopatz
e6af5d47d3 some windows fixes 2016-10-01 01:21:19 -04:00
Anthony Scopatz
8b5c91bfd8 Merge branch 'master' into rs 2016-10-01 00:50:41 -04:00
Bob Hyman
312b17f2b5 fix test failures in test_xonsh_party and test_ptk_highlight due to absense of builtin 'echo' on Windows 2016-09-29 21:38:35 -04:00
Anthony Scopatz
c5285a796a got some of it 2016-09-09 00:08:13 -04:00
Morten Enemark Lund
8e61cb5402 Add a simple xsh test file 2016-08-29 08:48:27 +02:00
Morten Enemark Lund
7ff95bf6d7 Add an example test file 2016-08-29 08:47:57 +02:00