diff options
author | aekoroglu <ali.erdinc.koroglu@intel.com> | 2022-05-08 22:01:40 +0300 |
---|---|---|
committer | aekoroglu <ali.erdinc.koroglu@intel.com> | 2022-05-08 22:01:40 +0300 |
commit | b3b012b177682cc44848085cd9ff4c9d3d14cb04 (patch) | |
tree | 75d1637b4b5be60904c1012ed6756ab2d9add443 /unitest-restful.py | |
parent | de9dd6769ae421469ff58f11302cacae8c6caab2 (diff) |
tests runs on loopback interface
Diffstat (limited to 'unitest-restful.py')
-rwxr-xr-x | unitest-restful.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unitest-restful.py b/unitest-restful.py index 7b77a2b9..14bd691f 100755 --- a/unitest-restful.py +++ b/unitest-restful.py @@ -64,7 +64,7 @@ class TestGlances(unittest.TestCase): global pid print('INFO: [TEST_000] Start the Glances Web Server') - cmdline = "python -m glances -w -p %s" % SERVER_PORT + cmdline = "python -m glances -B localhost -w -p %s" % SERVER_PORT print("Run the Glances Web Server on port %s" % SERVER_PORT) args = shlex.split(cmdline) pid = subprocess.Popen(args) |