Konstantinos Tsakiltzidis
6a44cf7f25
show timestamps option
2016-08-10 17:20:33 +03:00
Konstantinos Tsakiltzidis
733d871770
datetime_format arg
2016-08-09 21:26:08 +03:00
laerus
56da0e784c
add timestamp option to arg parsers
2016-08-01 12:09:48 +03:00
laerus
9a233e0c95
docs fix/old test tweak
2016-07-31 02:22:26 +03:00
laerus
1a362c600b
cleanup, fix for new test case
2016-07-30 23:29:53 +03:00
laerus
14f37adf20
new failing tests for _hist_parse_args
2016-07-29 19:24:08 +03:00
laerus
9ac637a3c8
docs / test_show_cmd ref
2016-07-23 11:38:20 +03:00
laerus
122242d499
cleanup/restore old functons
2016-07-20 15:16:46 +03:00
laerus
467d161af2
new top level parse_args/x failing tests
...
next: _hist_create_parser ref, history_main ref
2016-07-18 19:23:13 +03:00
laerus
3a3c6db72d
test ref/new failing tests for >1 slice args
2016-07-18 16:30:28 +03:00
laerus
b8fb97618a
tests ref, hist fixture
2016-07-16 21:39:32 +03:00
laerus
380bc4a52c
'tweak tests'
2016-07-16 21:27:05 +03:00
laerus
41b5f7ec6a
'small cleanup of old mock_xonsh_env'
2016-07-03 20:19:37 +03:00
Konstantinos Tsakiltzidis
6760c3dfc4
test_history/test_replay(buggy)
2016-06-28 13:47:35 +03:00
Gil Forsyth
560ebb5b1d
ugly hack on test_main and finish test_history
2016-06-22 18:28:07 -04:00
Gil Forsyth
6f4fc7564e
cleanup and extra fixes
2016-06-22 18:23:36 -04:00
Gil Forsyth
9fdc062427
update history tests to pytest
2016-06-22 17:41:13 -04:00
JohnLunzer
36f3ec6955
Merge xonsh master. Make hopefully final changes.
2016-06-17 10:11:59 -04:00
Anthony Scopatz
51f61ca5cb
fixed history tests
2016-06-16 00:43:02 -04:00
JohnLunzer
09b4934775
Slew of changes which should address all issues brought up in the PR review.
2016-06-14 10:37:31 -04:00
JohnLunzer
cd07eb1b92
Fixed some bugs, updated tests
2016-06-13 10:41:43 -04: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
Travis Shirk
5cda563f58
Fixes based on scopatz' feedback.
2015-11-29 16:50:20 -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
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
70e87e37cf
added lazy command fields to history
2015-08-16 21:41:02 -04:00
Anthony Scopatz
b456193a33
windows newline issue fix, hopefully
2015-08-12 01:04:03 -04:00
Anthony Scopatz
201aacdda6
seek from 0
2015-08-12 00:33:17 -04:00
Anthony Scopatz
fc0d00c774
try closing lj
2015-08-11 23:30:50 -04:00
Anthony Scopatz
d6381e1897
some test updates
2015-08-11 23:05:14 -04:00
Anthony Scopatz
158173889f
win fail test
2015-08-11 20:20:20 -04:00
Anthony Scopatz
f8a5dbcda3
history testing
2015-08-11 20:16:02 -04:00