Commit graph

131 commits

Author SHA1 Message Date
Gil Forsyth
af970448cb make sure PATHEXT is available in windows test 2016-06-23 11:45:00 -04:00
Gil Forsyth
a05defc857 fix EnvPath test failures
EnvPath's `__getitem__` method calls `expandvars` which only performs
expansion if the ENV_VAR `EXPAND_ENV_VARS` is `True`.  And since our
environments aren't bleeding over into the tests anymore, this wasn't
being set.  So a quick mock env added in to the expansion tests and
we're good to go.
2016-06-23 10:25:42 -04:00
Paul Goelz
c4f0151c26 PEP8 and fix wrong docstring. 2016-06-23 12:43:44 +02:00
Konstantinos Tsakiltzidis
7dfec26dbe 'these bugs slip nose?' 2016-06-23 12:16:20 +03:00
Paul Goelz
895befe6b2 Test sorted and unsorted globbing. 2016-06-23 10:23:23 +02:00
Konstantinos Tsakiltzidis
673999e799 'new nose to pytest' 2016-06-23 03:30:55 +03:00
Konstantinos Tsakiltzidis
4b5119fc75 Merge branch 'master' into pytest_port 2016-06-23 03:02:39 +03:00
Gil Forsyth
6f4fc7564e cleanup and extra fixes 2016-06-22 18:23:36 -04:00
Gil Forsyth
4eff251964 remove all nose imports and calls everywhere 2016-06-22 18:06:44 -04:00
Anthony Scopatz
f094bad69f Merge branch 'master' into cc 2016-06-21 10:56:14 -04:00
Anthony Scopatz
b0708b72c9 more interface changes 2016-06-21 10:56:10 -04:00
Morten Enemark Lund
d24beeea77 Merge pull request #1280 from VHarisop/path_expand
Added support for slices in EnvPath
2016-06-21 12:13:00 +02:00
VHarisop
5ca646cbd9
Added slicing tests for EnvPath 2016-06-21 00:52:09 +03:00
Anthony Scopatz
787469e415 some test fixes 2016-06-20 16:35:44 -04:00
Anthony Scopatz
f3508843bc Merge branch 'master' into cc 2016-06-20 16:31:56 -04:00
Anthony Scopatz
fc4d4853c4 string sequences 2016-06-20 16:26:54 -04:00
Gil Forsyth
76ee40c8af fixes for windows test failures
I don't think the `/dev/null` test is a) necessary or b) meaningful on
Windows.  And it should fail, if it's passed, since `/dev/null` isn't
writeable or creatable file on Windows (I think).

I believe that the second set of tests that I've changed also have
little to no meaning on Windows.
2016-06-20 15:37:14 -04:00
Anthony Scopatz
9c10e61746 pathsep sets 2016-06-20 13:17:52 -04:00
Morten Enemark Lund
b943731aa9 Fix some windows test errors 2016-06-20 00:09:51 +02:00
Anthony Scopatz
9fe05449c0 fixed tests 2016-06-18 12:42:21 -04:00
JohnLunzer
426b1ffec4 Merged with master. Alphabetized xonsh.tools import in test_tools.py 2016-06-17 13:25:36 -04:00
JohnLunzer
2d7274e01b Fixed silly whitespace issue 2016-06-17 10:15:52 -04:00
JohnLunzer
36f3ec6955 Merge xonsh master. Make hopefully final changes. 2016-06-17 10:11:59 -04:00
JohnLunzer
bcec54c1e0 Changes address previous round of review. Added tests and expanded tests for a few other validators. 2016-06-16 09:12:40 -04:00
VHarisop
2ce6bdd88d
Simpler constructor + don't resolve symlinks 2016-06-14 02:18:32 +03:00
VHarisop
46c83d6871
Refactored code, added TypeError for invalid init 2016-06-14 01:19:13 +03:00
VHarisop
74b85d836a
EnvPath now handles bytes + pathlib.Path(s) 2016-06-13 04:23:05 +03:00
VHarisop
100c6d5797
Made EnvPath extend MutableSequence instead 2016-06-13 00:36:18 +03:00
JohnLunzer
5a3506c884 Merge branch 'master' of https://github.com/scopatz/xonsh into history-all 2016-06-11 21:24:09 -04:00
JohnLunzer
1687ac2f25 Bulk of work done. 2016-06-11 21:21:00 -04:00
VHarisop
b958cfa710
Fix conflict with master 2016-06-10 13:49:17 +03:00
VHarisop
3aab92ded5
Added env.var to avoid ambiguity with traceback logging 2016-06-10 04:56:32 +03:00
Anthony Scopatz
101f41511c added some laziness to commands cache 2016-06-07 22:12:02 -04:00
VHarisop
cba9660e90
Added file option to XONSH_SHOW_TRACEBACK 2016-06-07 05:11:06 +03:00
adam j hartz
9c4b476b7a merge from master 2016-06-04 13:38:09 -04:00
Matthias Bussonnier
682f8e1bdc Test for Broken Symlink. 2016-06-03 10:41:10 -07:00
adam j hartz
82fff5c4d6 fix test cases after moving things around 2016-06-01 13:59:33 -04:00
Morten Enemark Lund
b23896a35c Merge branch 'testfix' into rewrite_executable_in 2016-05-30 09:40:41 +02:00
Anthony Scopatz
41a8befd9e some cleanup 2016-05-28 18:01:26 -04:00
Anthony Scopatz
f4e599d190 fixed conflicts 2016-05-28 17:47:00 -04:00
Anthony Scopatz
3984b83d29 win ext 2016-05-28 17:40:54 -04:00
Anthony Scopatz
d45e637b9a more updates 2016-05-28 17:35:56 -04:00
Anthony Scopatz
2b48c2fde3 try again 2016-05-28 17:04:55 -04:00
Anthony Scopatz
5bd72089e8 deterministic tests 2016-05-28 16:38:33 -04:00
Anthony Scopatz
a984c14497 added some tests 2016-05-28 16:07:27 -04:00
Anthony Scopatz
05b59140a9 added debugging envvar 2016-05-28 15:14:03 -04:00
Frank Sachsenheim
f076ca2e1c Adds tools.executables_in 2016-05-24 20:49:46 +02:00
Nicolas Avrutin
944de11078 support functions in $RIGHT_PROMPT
Along the way, implement is_callable and is_callable_or_string
validators, and apply them to $PROMT and $MULTILINE_PROMPT.
2016-06-06 22:53:13 -04:00
Anthony Scopatz
b76010d620 "fixed echo @("foo") > bar" 2016-05-19 18:52:50 -04:00
Anthony Scopatz
08c5b8f43d more tests 2016-05-11 23:41:14 -04:00