From e367f95f9644c14c8a39db5557f6d6444c8e0515 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 15 Apr 2015 16:42:26 +0200 Subject: [PATCH] Drop darwin specific tests --- tests/modules/test_port_manager.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/modules/test_port_manager.py b/tests/modules/test_port_manager.py index 923191b4..05a2ac62 100644 --- a/tests/modules/test_port_manager.py +++ b/tests/modules/test_port_manager.py @@ -39,21 +39,9 @@ def test_reserve_udp_port(): pm.reserve_udp_port(4242, project) -@pytest.mark.skipif(sys.platform == 'darwin', reason="not working on darwin") def test_release_udp_port(): pm = PortManager() project = Project() pm.reserve_udp_port(4242, project) pm.release_udp_port(4242, project) pm.reserve_udp_port(4242, project) - - -@pytest.mark.skipif(sys.platform != 'darwin', reason="requires darwin") -def test_release_darwin_udp_port(): - """Due to dynamips / darwin bug we didn't free the port""" - pm = PortManager() - project = Project() - pm.reserve_udp_port(4242, project) - pm.release_udp_port(4242, project) - with pytest.raises(aiohttp.web.HTTPConflict): - pm.reserve_udp_port(4242, project)