Commit graph

699 commits

Author SHA1 Message Date
Anthony Scopatz
57726327dd even more tests 2016-08-20 13:08:56 -04:00
Anthony Scopatz
e0d0d42f55 more macros 2016-08-20 12:39:12 -04:00
Anthony Scopatz
698e16c3b5 some fixes 2016-08-20 10:30:23 -04:00
Anthony Scopatz
4dd6e9621d have tuples, missing whitespace 2016-08-20 08:33:01 -04:00
Anthony Scopatz
15e23a9060 more fixes 2016-08-20 07:46:03 -04:00
Anthony Scopatz
cf68b36285 Merge branch 'master' into m 2016-08-19 20:36:27 -04:00
adam j hartz
f9d4c9d3e7 better test organization 2016-08-19 16:07:08 -04:00
adam j hartz
959270c0d2 add tests 2016-08-19 15:43:26 -04:00
Anthony Scopatz
05a69358e6 another blank line 2016-08-19 12:11:37 -04:00
Anthony Scopatz
c8727f17b3 Added function arguments to scope 2016-08-19 01:45:44 -04:00
adam j hartz
71a92b4863 temporary files shouldn't cause the news-related test to break 2016-08-18 18:38:02 -04:00
Jamie Bliss
20bd3aedd7 Merge remote-tracking branch 'upstream/master' into events 2016-08-15 23:24:32 -04:00
Jamie Bliss
5141fadfb4 Do some magic to make event docstrings work 2016-08-15 23:22:19 -04:00
Jamie Bliss
81d066a341 Rename so that __call__() is to register
```
@events.on_spam
def myhandler(eggs):
    ...
```
2016-08-15 23:13:44 -04:00
Jamie Bliss
44333fdcd5 Remove problematic "loopback" event style.
This has limited use because you have to do it in such a way that different
handlers don't step on each other or blow up on input they don't understand.
The worst case is the first use-case: command preprocessing.
2016-08-15 23:03:32 -04:00
Jamie Bliss
9dcd0f9fbf Add validators, plus some clarity and PEP8 fixes 2016-08-15 22:59:30 -04:00
Anthony Scopatz
49b2f8d7d8 newb error 2016-08-14 18:52:39 -04:00
Anthony Scopatz
b3af85f649 Merge pull request #1520 from laerus/hist_ts
history show filter by timestamps
2016-08-12 14:30:25 +10:00
Matthias Bussonnier
3c7753f4be Fix tests, document, and make install_hook() install only once. 2016-08-10 18:20:54 -07:00
Jamie Bliss
35fca07db6 Test loading of xsh-based xontribs 2016-08-10 17:26:20 -07:00
Konstantinos Tsakiltzidis
6a44cf7f25 show timestamps option 2016-08-10 17:20:33 +03:00
Konstantinos Tsakiltzidis
f362165491 ensure_timestamp basic 2016-08-10 16:49:06 +03:00
Konstantinos Tsakiltzidis
733d871770 datetime_format arg 2016-08-09 21:26:08 +03:00
Jamie Bliss
cdd66b4511 Merge remote-tracking branch 'upstream/master' into events 2016-08-04 15:26:21 -04:00
Konstantinos Tsakiltzidis
c390021089 ensure_slice fix for -1 2016-08-04 14:14:22 +03:00
Anthony Scopatz
26ab42232a Merge pull request #1524 from astronouth7303/xontrib-all
Add support for `__all__` in xontribs
2016-08-03 10:22:21 -07:00
Jamie Bliss
5816059c3c Some fixes from the PR 2016-08-03 11:57:20 -04:00
Jamie Bliss
aac8db471a Fixed a flaw in the test setup. Tests pass now. 2016-08-03 00:42:36 -04:00
Jamie Bliss
ef51910d2e Add some tests (which are failing) 2016-08-03 00:33:39 -04:00
Konstantinos Tsakiltzidis
d3793a3f99 catch errors when calling _hist_get 2016-08-02 15:59:11 +03:00
laerus
41750045c2 ensure_timestamp p1 2016-08-01 15:01:17 +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
c063bff450 Merge branch 'master' into hist_ref 2016-07-31 01:32:40 +03:00
laerus
1a362c600b cleanup, fix for new test case 2016-07-30 23:29:53 +03:00
Jamie Bliss
9d727652c7 Fix #1513
Forgot to copy a mutated value on save. Added a test to prevent
regression.
2016-07-30 03:35:39 -04:00
laerus
14f37adf20 new failing tests for _hist_parse_args 2016-07-29 19:24:08 +03:00
laerus
d2536198ae Merge branch 'master' into hist_ref 2016-07-28 20:18:45 +03:00
Jamie Bliss
eddd11ae86 Add tests for the events system. 2016-07-28 00:42:00 -04:00
Gil Forsyth
fc3956c3fd remove unused os import 2016-07-26 14:05:01 -04:00
Gil Forsyth
afea01aefc better on_conda check that doesn't rely on which 2016-07-26 10:09:09 -04:00
Gil Forsyth
cb8ecdc440 hacky workaround for appveyor (for the moment) 2016-07-25 10:16:32 -04:00
Gil Forsyth
9ac3d29e7d add 'skip if on conda' fixture to vox tests 2016-07-23 17:27:27 -04:00
Gil Forsyth
10d06dc78b skip vox tests for the moment 2016-07-23 11:21:41 -04:00
laerus
9c56f1e7e3 'ensure_slice for empty vals, tweak tests' 2016-07-23 13:32:24 +03:00
laerus
9ac637a3c8 docs / test_show_cmd ref 2016-07-23 11:38:20 +03:00
laerus
91b9e81312 ensure_slice accepts sequences 2016-07-23 09:53:38 +03:00
laerus
d5ca1adc1b tools ensure_slice accept slice obj 2016-07-21 16:54:34 +03:00
Leonardo Santagada
ec4c346b0b Merge branch 'master' into remove-flake8-exceptions 2016-07-21 00:05:17 +02:00
Anthony Scopatz
fc6ac3b87f Merge pull request #1456 from astronouth7303/vox_api
Vox API
2016-07-20 16:22:34 -05:00