Commit graph

203 commits

Author SHA1 Message Date
laerus
6b482b803c more tests/ fixed bug for different envvars 2016-07-05 14:28:57 +03:00
laerus
2dc7f2b5c3 'test_tools shapeup' 2016-07-05 12:15:02 +03:00
laerus
3e620eb8e4 expandvars now uses regex / tests for expandvars 2016-07-05 01:46:07 +03:00
laerus
0aa0c2e791 'EnvPath test_tools test fix' 2016-07-04 13:20:12 +03:00
laerus
41b5f7ec6a 'small cleanup of old mock_xonsh_env' 2016-07-03 20:19:37 +03:00
laerus
fefb9539ba EnvPath bug, skipping 2016-07-02 04:53:37 +03:00
laerus
6476c8491a test_tools repair 2016-06-30 23:00:00 +03:00
Konstantinos Tsakiltzidis
ba6f63f143 Merge branch 'master' into pytest_migration 2016-06-29 16:58:08 +03:00
Paul Goelz
4a9ac0812f Fix iglobpath test and pass sort_result parameters in a lot of places where they should always have been passed. 2016-06-28 22:34:30 +02:00
Paul Goelz
ad51990b2b Realize many of scopatz' suggestions 2016-06-28 20:36:17 +02:00
Paul Goelz
42637011ac Use normal assertions in tests 2016-06-26 22:25:32 +02:00
Paul Goelz
3cf38a7f65 Merge branch 'master' of https://github.com/xonsh/xonsh into sortglob 2016-06-26 22:15:03 +02:00
Paul Goelz
9b768c54f6 Lookup GLOB_SORTED outside of globpath functions to improve testability 2016-06-26 21:44:18 +02:00
Konstantinos Tsakiltzidis
fe6376f6d5 'removed xenv ambiguity' 2016-06-25 21:07:25 +03:00
Konstantinos Tsakiltzidis
28ec6ea977 'need more fixturesr' 2016-06-25 13:06:59 +03:00
Konstantinos Tsakiltzidis
4d67a47f59 test_tools, almost complete 2016-06-24 23:51:55 +03:00
Konstantinos Tsakiltzidis
9ea4c7ac08 Merge branch 'master' into pytest_migration 2016-06-24 21:22:57 +03:00
Konstantinos Tsakiltzidis
329398ff9e 'test_tools part1' 2016-06-24 21:21:50 +03:00
Burak Yigit Kaya
eda60048b1 Extract CommandsCache to its own module 2016-06-24 20:27:28 +03:00
Konstantinos Tsakiltzidis
1e9aed31f4 'parametrize ftw' 2016-06-24 18:16:16 +03:00
Gil Forsyth
170d08f43f uncomment tests (my bad) 2016-06-23 15:04:28 -04:00
Morten Enemark Lund
ef04264a06 Add XONSH_ENCODING_ERRORS to TOOLS_ENV 2016-06-23 20:13:24 +02:00
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