mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Fix NAT test.
This commit is contained in:
parent
9e4cfaf787
commit
6a8f220ff1
@ -72,7 +72,7 @@ def test_json_windows_with_full_name_of_interface(windows_platform, project):
|
||||
"status": "started",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "vmnet8",
|
||||
"interface": "VMware Network Adapter VMnet8",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "ethernet"
|
||||
|
@ -290,7 +290,7 @@ def darwin_platform():
|
||||
@pytest.yield_fixture
|
||||
def windows_platform():
|
||||
"""
|
||||
Change sys.plaform to Windows
|
||||
Change sys.platform to Windows
|
||||
"""
|
||||
old_platform = sys.platform
|
||||
sys.platform = "win10"
|
||||
@ -301,7 +301,7 @@ def windows_platform():
|
||||
@pytest.yield_fixture
|
||||
def linux_platform():
|
||||
"""
|
||||
Change sys.plaform to Linux
|
||||
Change sys.platform to Linux
|
||||
"""
|
||||
old_platform = sys.platform
|
||||
sys.platform = "linuxdebian"
|
||||
|
Loading…
Reference in New Issue
Block a user