mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-24 17:51:49 +03:00
Merge pull request #2051 from aekoroglu/develop
unitary tests should run loopback interface
This commit is contained in:
commit
feed48aa8d
@ -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