Skip IOU test on Windows

Fix #159
This commit is contained in:
Julien Duponchelle committed 2015-04-27 15:09:42 +02:00
1 parent 834a554fea
commit 4df95efdec
5 files changed
+25 -7

No files matched your search

+5 -3
View File
@@ -25,6 +25,8 @@ from .qemu import Qemu
MODULES = [VPCS, VirtualBox, Dynamips, Qemu]
if sys.platform.startswith("linux") or hasattr(sys, "_called_from_test") or os.environ.get("PYTEST_BUILD_DOCUMENTATION") == "1":
# IOU runs only on Linux
from .iou import IOU
MODULES.append(IOU)
# IOU runs only on Linux but testsuite work on UNIX platform
if not sys.platform.startswith("win"):
from .iou import IOU
MODULES.append(IOU)