Notif forwarded from hypervisor to controller

This commit is contained in:
Julien Duponchelle committed 2016-03-18 16:56:23 +01:00
1 parent de61ed316c
commit bc14d5d78e
8 files changed
+174 -46

No files matched your search

+2 -1
View File
@@ -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):