Browse Source

Test everything; remove debugging

tags/replace-pytables
Jim Paris 9 years ago
parent
commit
e2464efc12
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      nilmdb/server.py
  2. +2
    -2
      setup.cfg

+ 1
- 1
nilmdb/server.py View File

@@ -30,7 +30,7 @@ def chunked_response(func):
"""Decorator to enable chunked responses"""
# Set this to False to get better tracebacks from some requests
# (/stream/extract, /stream/intervals).
func._cp_config = { 'response.stream': False }
func._cp_config = { 'response.stream': True }
return func

def workaround_cp_bug_1200(func):


+ 2
- 2
setup.cfg View File

@@ -2,7 +2,7 @@
# note: the value doesn't matter, that's why they're empty here
nocapture=
nologcapture= # comment to see cherrypy logs on failure
#with-coverage=
with-coverage=
cover-inclusive=
cover-package=nilmdb
cover-erase=
@@ -12,7 +12,7 @@ stop=
verbosity=2
#tests=tests/test_mustclose.py
#tests=tests/test_lrucache.py
tests=tests/test_cmdline.py
#tests=tests/test_cmdline.py
#tests=tests/test_layout.py
#tests=tests/test_rbtree.py
#tests=tests/test_interval.py


Loading…
Cancel
Save