mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix tests on MacOS
This commit is contained in:
1 parent
38326f7d72
commit
ae7bf828cd
3 files changed
+11
-6
No files matched your search
@@ -23,7 +23,7 @@ from .qemu import Qemu
|
||||
|
||||
MODULES = [VPCS, VirtualBox, Dynamips, Qemu]
|
||||
|
||||
if sys.platform.startswith("linux"):
|
||||
if sys.platform.startswith("linux") or hasattr(sys, "_called_from_test"):
|
||||
# IOU runs only on Linux
|
||||
from .iou import IOU
|
||||
MODULES.append(IOU)
|
||||
Reference in new issue
Block a user