mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Fix NAT test.
This commit is contained in:
1 parent
9e4cfaf787
commit
6a8f220ff1
2 files changed
+3
-3
No files matched your search
@@ -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
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user