nilmdb/tests
Jim Paris 3b9d84d689 Adjust how layouts are managed: now we pass strings representing the
layouts, rather than direct dict objects.  This allows us to go
backwards and match the description of tables in the database with the
layouts defined within nilmdb.layout.

Fix some big issues with the nilmdb.server and startup errors like an
invalid port number.  We have to catch os._exit and report the error
ourselves.

Add some timeouts and otherwise clean up tests.

Make NilmDB track and complain about files that weren't closed before
the object is destroyed.

Update stream_list and /stream/list to return the layout corresponding
to each table.



git-svn-id: https://bucket.mit.edu/svn/nilm/nilmdb-new@10338 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2012-01-28 00:36:23 +00:00
..
test_nilmdb.py Adjust how layouts are managed: now we pass strings representing the 2012-01-28 00:36:23 +00:00
test_printf.py Fixups, and add serializer to NilmDB access from CherryPy 2012-01-27 19:17:09 +00:00
test_serializer.py Adjust how layouts are managed: now we pass strings representing the 2012-01-28 00:36:23 +00:00