mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-18 20:37:57 +00:00
Fix tests.
This commit is contained in:
parent
6d1adea907
commit
56a4d3f8fd
@ -71,7 +71,7 @@ def test_parse_arguments(capsys, tmpdir):
|
||||
assert "optional arguments" in out
|
||||
|
||||
assert run.parse_arguments(["--host", "192.168.1.1"]).host == "192.168.1.1"
|
||||
assert run.parse_arguments([]).host == "0.0.0.0"
|
||||
assert run.parse_arguments([]).host == "localhost"
|
||||
server_config["host"] = "192.168.1.2"
|
||||
assert run.parse_arguments(["--host", "192.168.1.1"]).host == "192.168.1.1"
|
||||
assert run.parse_arguments([]).host == "192.168.1.2"
|
||||
|
Loading…
Reference in New Issue
Block a user