|
|
@@ -59,8 +59,7 @@ class TestCmdline(object): |
|
|
|
|
|
|
|
def run(self, arg_string, infile=None, outfile=None): |
|
|
|
"""Run a cmdline client with the specified argument string, |
|
|
|
passing the given input. Returns a tuple with the output and |
|
|
|
exit code""" |
|
|
|
passing the given input. Save the output and exit code.""" |
|
|
|
# printf("TZ=UTC ./nilmtool.py %s\n", arg_string) |
|
|
|
os.environ['NILMDB_URL'] = "http://localhost:32180/" |
|
|
|
class stdio_wrapper: |
|
|
|