summaryrefslogtreecommitdiffstats
path: root/unitest-restful.py
diff options
context:
space:
mode:
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-xunitest-restful.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/unitest-restful.py b/unitest-restful.py
index 17e734e1..dd725f2c 100755
--- a/unitest-restful.py
+++ b/unitest-restful.py
@@ -54,12 +54,12 @@ class TestGlances(unittest.TestCase):
"""Start the Glances Web Server."""
global pid
- print('INFO: [TEST_000] Start the Glances Web Server')
+ print('INFO: [TEST_000] Start the Glances Web Server API')
if os.path.isfile('./venv/bin/python'):
cmdline = "./venv/bin/python"
else:
cmdline = "python"
- cmdline += " -m glances -B localhost -w -p %s" % SERVER_PORT
+ cmdline += " -m glances -B 0.0.0.0 -w -p %s --disable-webui" % SERVER_PORT
print("Run the Glances Web Server on port %s" % SERVER_PORT)
args = shlex.split(cmdline)
pid = subprocess.Popen(args)