From 6a8f220ff1039e0aab0837a5e85d8b56789f929d Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 11 Sep 2017 15:09:32 +0700 Subject: [PATCH] Fix NAT test. --- tests/compute/builtin/nodes/test_nat.py | 2 +- tests/conftest.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/compute/builtin/nodes/test_nat.py b/tests/compute/builtin/nodes/test_nat.py index c864f936..449a39f8 100644 --- a/tests/compute/builtin/nodes/test_nat.py +++ b/tests/compute/builtin/nodes/test_nat.py @@ -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" diff --git a/tests/conftest.py b/tests/conftest.py index 6e0b72b4..aae5d0c0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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"