mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-20 13:15:14 +02:00
Notif forwarded from hypervisor to controller
This commit is contained in:
8 files changed
+174
-46
No files matched your search
@@ -16,6 +16,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import pytest
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
from gns3server.controller.link import Link
|
||||
from gns3server.controller.vm import VM
|
||||
@@ -30,7 +31,7 @@ def project():
|
||||
|
||||
@pytest.fixture
|
||||
def hypervisor():
|
||||
return Hypervisor("example.com")
|
||||
return Hypervisor("example.com", controller=MagicMock())
|
||||
|
||||
|
||||
def test_addVM(async_run, project, hypervisor):
|
||||
|
||||
Reference in new issue
Block a user