Fix NAT test.

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

No files matched your search

+1 -1
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"
+2 -2
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"