1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Fix NAT test.

This commit is contained in:
grossmj 2017-09-11 15:09:32 +07:00
parent 9e4cfaf787
commit 6a8f220ff1
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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"