nilmdb/tests
Jim Paris 40b966aef2 Add pycurl-specific hack to Iteratorizer
Inside the pycurl callback, we can't raise exceptions, because the
pycurl extension module will unconditionally print the exception
itself, and not pass it up to the caller.  Instead, we have the
callback return a value that tells curl to abort.  (-1 would be best,
in case we were given 0 bytes, but the extension doesn't support
that either).

This resolves the 'Exception("should die")' problem when interrupting
a streaming generator like stream_extract.
2013-01-24 19:06:20 -05:00
..
data Add --timestamp-raw option to extract and list 2013-01-24 16:03:38 -05:00
testutil Move some helper functions around 2013-01-09 17:39:29 -05:00
test_bulkdata.py Progress and tests for bulkdata.remove 2013-01-09 17:39:29 -05:00
test_client.py Send a Access-Control-Allow-Origin (CORS) header with all responses 2013-01-22 14:42:03 -05:00
test_cmdline.py Add --timestamp-raw option to extract and list 2013-01-24 16:03:38 -05:00
test_interval.py Full coverage of nilmdb.utils.mustclose 2013-01-05 18:02:53 -05:00
test_iteratorizer.py Add pycurl-specific hack to Iteratorizer 2013-01-24 19:06:20 -05:00
test_layout.py Properly return an error if two timestamps are equal 2013-01-22 18:35:18 -05:00
test_lrucache.py Fix lrucache decorator argspecs 2013-01-18 17:13:50 -05:00
test_mustclose.py More fixes to mustclose decorator and argspecs 2013-01-18 17:21:30 -05:00
test_nilmdb.py Properly handle test case where server doesn't start 2013-01-24 16:03:38 -05:00
test_printf.py Move test helpers into subdirectory 2013-01-05 15:00:34 -05:00
test_rbtree.py Move test helpers into subdirectory 2013-01-05 15:00:34 -05:00
test_serializer.py Move test helpers into subdirectory 2013-01-05 15:00:34 -05:00
test_timestamper.py Move test helpers into subdirectory 2013-01-05 15:00:34 -05:00
test.order Removal support is complete. 2013-01-09 23:26:59 -05:00