mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 05:42:57 +03:00
tests runs on loopback interface
This commit is contained in:
parent
de9dd6769a
commit
b3b012b177
@ -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)
|
||||
|
@ -53,7 +53,7 @@ class TestGlances(unittest.TestCase):
|
||||
global pid
|
||||
|
||||
print('INFO: [TEST_000] Start the Glances Web Server')
|
||||
cmdline = "python -m glances -s -p %s" % SERVER_PORT
|
||||
cmdline = "python -m glances -B localhost -s -p %s" % SERVER_PORT
|
||||
print("Run the Glances Server on port %s" % SERVER_PORT)
|
||||
args = shlex.split(cmdline)
|
||||
pid = subprocess.Popen(args)
|
||||
|
Loading…
Reference in New Issue
Block a user