mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-25 16:28:11 +00:00
Fix tests
This commit is contained in:
parent
aab4a7243b
commit
750958bd12
@ -25,6 +25,14 @@ from gns3server.modules.vpcs import VPCS
|
|||||||
from gns3server.modules.iou import IOU
|
from gns3server.modules.iou import IOU
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture(scope="function")
|
||||||
|
def iou(port_manager):
|
||||||
|
IOU._instance = None
|
||||||
|
iou = IOU.instance()
|
||||||
|
iou.port_manager = port_manager
|
||||||
|
return iou
|
||||||
|
|
||||||
|
|
||||||
def test_create_vm_new_topology(loop, project, port_manager):
|
def test_create_vm_new_topology(loop, project, port_manager):
|
||||||
|
|
||||||
VPCS._instance = None
|
VPCS._instance = None
|
||||||
|
Loading…
Reference in New Issue
Block a user