Commit graph

36 commits

Author SHA1 Message Date
Gil Forsyth
d6540ce66d add test that all int and bool envvars have ensurers
hopefully this will stop this from cropping up again in the future
2017-03-15 09:09:08 -04:00
laerus
bbeafbab56 event on_envvar moar testing 2017-01-31 12:51:26 +02:00
laerus
2e492eed27 event on_envvar_change no fire for same value 2017-01-31 12:26:50 +02:00
laerus
cd21c83e09 split on_envvar to on_envvar_new & on_envvar_change 2017-01-31 12:13:50 +02:00
laerus
c6b9839690 environ event test for new envvar 2017-01-30 15:41:48 +02:00
laerus
d3227a3f14 event on_envvar 2017-01-30 14:45:35 +02:00
Anthony Scopatz
24e0f61808 fixed commands cache env test 2016-09-25 15:54:31 -04:00
laerus
b87f6e9922 migrate prompt tests p1 2016-09-15 17:06:35 +03:00
laerus
4499952a26 added __contains__ method on Env + test 2016-07-04 20:09:55 +03:00
laerus
02154b2597 pretty reckless vim sub 2016-07-03 22:03:06 +03:00
laerus
de2745bc45 'test_environ new tests migration' 2016-07-02 03:36:32 +03:00
laerus
916999913e Merge branch 'master' into pytest_migration
maybe a fix for test_environ conflicts

Conflicts:
	tests/test_environ.py
2016-07-01 22:28:45 +03:00
laerus
bea8c62829 tests bugs fixing/test_parser & test_tools to go 2016-07-01 21:52:37 +03:00
Oleh Prypin
bc11ba78db Test 'optional items' (format spec) in format_prompt 2016-07-01 19:07:20 +03:00
Oleh Prypin
fa91c6b21b Drop the separate implementation of format_prompt
It was used only in one place and can be replaced with partial_format_prompt
2016-07-01 19:07:20 +03:00
laerus
36c0bcfd42 test execer/xonsh_execer fixture in conftest 2016-07-01 15:43:16 +03:00
laerus
320bb3b4da 'test_environ/lexer' 2016-07-01 12:42:07 +03:00
Konstantinos Tsakiltzidis
5ccec32e12 test_environ part1 / tools small refactor 2016-06-27 18:39:10 +03:00
Gil Forsyth
4eff251964 remove all nose imports and calls everywhere 2016-06-22 18:06:44 -04:00
Gil Forsyth
965c802eff port test_environ to pytest 2016-06-22 17:14:27 -04:00
Anthony Scopatz
9fe05449c0 fixed tests 2016-06-18 12:42:21 -04:00
VHarisop
733c9bc25b
Added news entry, fixed conflict with master 2016-06-17 12:33:18 +03:00
VHarisop
2ce6bdd88d
Simpler constructor + don't resolve symlinks 2016-06-14 02:18:32 +03:00
Anthony Scopatz
c9d7389ba9 fixed up some test 2016-06-11 23:13:18 -04:00
Hugo Wang
af55ed4049 fix crash caused by prompt exceptions 2016-06-09 11:44:50 +08:00
Hugo Wang
6dc835a9fd fix crase caused by malformed prompt or title 2016-06-09 10:51:50 +08:00
Morten Enemark Lund
92fcd29250 This fixes a bug on windows in locate_binary(), where extension was ignored 2016-06-07 15:49:23 +02:00
Morten Enemark Lund
54faaad6fc Fix tests on windows. 2016-05-23 08:42:09 +02:00
Gil Forsyth
99ea707ae7 fix broken imports in certain tests
these were introduced in a few places but there is no __init__.py file
in the tests directory so the import breaks (at least on my machine)
2016-05-19 15:17:42 -04:00
Anthony Scopatz
fcdef43891 test updates 2016-05-16 02:02:24 -04:00
Anthony Scopatz
742d2a3b2d don't die on JSON config fail 2016-05-16 00:43:27 -04:00
Randy Syring
3a14cc2bdd add kwarg support to Env.swap()
fixes gh-769
2016-04-01 01:41:23 -04:00
Travis Shirk
70383217a6 set type and unit test 2015-11-28 16:12:41 -07:00
Kurtis Rader
e88c863d10 Add a uniform character encoding to all files.
I wouldn't normally do something like this but issue #487 brought to
my attention the fact that too many of the python modules don't have
an encoding comment and of those that do there is a lot of pointless
inconsistency in the style of the comment.
2015-11-16 14:10:40 -08:00
Anthony Scopatz
06b892e70a prompt formatting functions may accept None 2015-08-02 18:49:45 -05:00
Anthony Scopatz
9af75b321f moved Env to environ.py 2015-05-14 18:18:46 -05:00