Anthony Scopatz
9d9c8bef31
fixed some tests
2016-02-18 00:45:01 -05:00
Anthony Scopatz
21940e9e74
some more modifications
2016-02-17 02:03:08 -05:00
Anthony Scopatz
f32cecb59c
potential fix for getouterframes
2016-02-06 00:05:00 -05:00
Anthony Scopatz
9c3506cb14
better filename handling in tracer
2016-02-03 01:29:06 -05:00
Anthony Scopatz
83c337178e
turn off line and col tests for < v3.5.1
2016-02-03 00:16:05 -05:00
Anthony Scopatz
04ccec597b
fixed with
2016-02-02 21:19:56 -05:00
Anthony Scopatz
79b3ffdb96
more hacking
2016-02-02 02:59:12 -05:00
Anthony Scopatz
29a4f826a1
more fixes
2016-02-02 00:19:37 -05:00
Anthony Scopatz
80983d3e2a
prettier dump
2016-01-31 23:13:01 -05:00
Anthony Scopatz
a85e3c0e5a
implemented parser acces to tokens
2016-01-31 21:45:14 -05:00
Anthony Scopatz
77b02e9110
line an col numbs so broken!
2016-01-31 20:32:28 -05:00
Burak Yigit Kaya
6f55943266
Fix background color handling when using prompt-toolkit
2016-01-23 18:50:48 +02:00
Gil Forsyth
8bae9d7dbe
update trailing slash test to play nice
...
I forgot that AppVeyor _is_ on windows
2016-01-22 18:42:53 -05:00
Gil Forsyth
4e06175670
disable multiline for '\' on windows without POSIX
...
If user is on Windows and has `FORCE_POSIX_PATHS` set to False, then
trailing backslash will not enter multiline mode as this messed up
directory navigation
2016-01-22 17:38:13 -05:00
Anthony Scopatz
ac3380db70
Merge branch 'master' into xonfig
2016-01-12 20:27:21 -05:00
Gil Forsyth
c1184382e7
add setup and teardown functions to multiline tests
2016-01-12 09:46:50 -05:00
Gil Forsyth
8638d9e3fb
remove unneeded imports
2016-01-11 17:51:33 -05:00
Gil Forsyth
88c753c2f0
update test description
2016-01-11 17:50:37 -05:00
Gil Forsyth
36b2bba5f1
add more tests and demangle key_bindings
2016-01-11 17:40:49 -05:00
Gil Forsyth
6bf3320ff1
add tests for most multiline prompt behavior
2016-01-11 17:09:20 -05:00
Gil Forsyth
3280bc6b1b
first attempt at testing multiline input behavior
2016-01-11 16:38:25 -05:00
Anthony Scopatz
0f6efb1497
storage seems to work
2016-01-02 11:28:36 -08:00
Anthony Scopatz
9ee5bc21c9
some more tests
2016-01-02 02:20:22 -08:00
Anthony Scopatz
2009d24604
have basic walker and pretty printer
2016-01-02 02:15:37 -08:00
Anthony Scopatz
753cd5dcc4
test fixes
2015-12-29 23:46:44 -08:00
adam j hartz
846b60265b
Merge pull request #578 from scopatz/ptk-hist
...
prompt-toolkit history now reads from xonsh history rather its own custom pickle method.
2015-12-21 17:28:30 -05:00
Anthony Scopatz
a30bc80bef
prompt-toolkit history now reads from xonsh history rather its own custom pickle method.
2015-12-19 18:26:37 -08:00
adam j hartz
26bd38bbab
update test cases
2015-12-19 21:17:03 -05:00
adam j hartz
a5f2b7019e
skip more test cases on windows
2015-12-19 18:44:58 -05:00
adam j hartz
3c487284b4
more test case fiddling
2015-12-19 18:09:06 -05:00
adam j hartz
36ba1b14bf
update tests for new aliasing
2015-12-19 17:29:48 -05:00
adam j hartz
abe1e32076
add test for check_for_partial_string
2015-12-18 15:30:46 -05:00
adam j hartz
07176d664d
update tests to have __xonsh_shell__
2015-12-05 15:32:38 -05:00
Morten Enemark Lund
0061617f4e
Update tests
2015-12-01 13:56:20 +01:00
Anthony Scopatz
881e84acb2
Merge branch 'pt_colors' of https://github.com/adqm/xonsh into adqm-pt_colors
2015-11-29 20:35:53 -05:00
Travis Shirk
5ba2b81fa4
test fix
2015-11-29 17:27:33 -07:00
Travis Shirk
5cda563f58
Fixes based on scopatz' feedback.
2015-11-29 16:50:20 -07:00
adam j hartz
1b20b53785
add custom color case to tests
2015-11-29 10:57:30 -05:00
adam j hartz
005aaf98cf
attempt to fix test case
2015-11-29 10:55:19 -05:00
Travis Shirk
70383217a6
set type and unit test
2015-11-28 16:12:41 -07:00
Travis Shirk
2920d83fc6
Debug cruft
2015-11-27 13:22:12 -07:00
Travis Shirk
bdeb690fb0
Tests for HISTCONTROL
2015-11-27 13:17:57 -07:00
Benjamin Pollack
533a7e915f
Add support for -i and -l options
...
Support for the login option is very minimal, but the `XONSH_LOGIN`
variable is set in this case so that scripts may take an appropriate
action.
Fixes #517
2015-11-21 18:26:34 -05: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
Kurtis Rader
7ccfb171aa
Make history module mostly lint clean.
...
This fixes most of the lint errors in the history code. It also fixes
two bugs that were found by pylint due to misnamed variables. This patch
does not make any functional changes. I'll fix the remaining lint errors
in a subsequent patch when I tackle cross-module issues.
2015-11-14 19:56:26 -08:00
Kurtis Rader
4be4509a2e
Modify the code to comply with the alias API.
2015-11-06 17:38:08 -08:00
Kurtis Rader
5cc784a721
Correct function names to follow PEP8.
2015-11-06 15:12:33 -08:00
Kurtis Rader
a14a9a6f4d
Correct handling of negative history indexes.
...
Fix the handling of negative history indexes where a slice specification
is involved. Negative indexes not part of a slice specification worked by
accident because the argparse module (see section "16.4.4.3 Arguments
containing --") treats such values as positional arguments (which is a
misfeature of argparse in my opinion). I've also added unit tests for
"history show" to keep this from being broken in the future.
2015-11-05 19:35:41 -08:00
Anthony Scopatz
4a7ebb6a86
some test fixes
2015-10-31 14:31:17 -04:00
Anthony Scopatz
ec6123fc86
first pass at setting encoding
2015-10-31 13:31:52 -04:00