diff --git a/test/unit/conftest.py b/test/unit/conftest.py index 6b5028d..ce5fce4 100644 --- a/test/unit/conftest.py +++ b/test/unit/conftest.py @@ -37,6 +37,18 @@ class PatchedVyOSDriver(vyos.VyOSDriver): self.patched_attrs = ['device'] self.device = FakeVyOSDevice() + def disconnect(self): + pass + + def is_alive(self): + return { + 'is_alive': True # In testing everything works.. + } + + def open(self): + pass + + class FakeVyOSDevice(BaseTestDouble): """VyOS device test double."""