From efbf7728eae3c6287690fd4b08838761af4984a5 Mon Sep 17 00:00:00 2001 From: grossmj Date: Thu, 23 Nov 2017 11:27:17 +0700 Subject: [PATCH] Fix Docker tests. --- tests/compute/docker/test_docker_vm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/compute/docker/test_docker_vm.py b/tests/compute/docker/test_docker_vm.py index aeb7dc78..f5f8f7e0 100644 --- a/tests/compute/docker/test_docker_vm.py +++ b/tests/compute/docker/test_docker_vm.py @@ -769,6 +769,8 @@ def test_adapter_add_nio_binding(vm, loop): def test_adapter_udpate_nio_binding(vm, loop): + vm.ubridge = MagicMock() + vm.ubridge.is_running.return_value = True vm._ubridge_apply_filters = AsyncioMagicMock() vm._bridges = set(('bridge0', )) nio = {"type": "nio_udp",