This commit is contained in:
Ahmed Bilal 2019-09-03 18:06:41 +02:00
commit f40d9c3f11
8 changed files with 14 additions and 15 deletions

6
tests/test_dead_host_mechanism.py Normal file → Executable file
View file

@ -16,14 +16,12 @@ from main import (
dead_host_detection,
dead_host_mitigation,
main,
config
)
from etcd3_wrapper import Etcd3Wrapper
class TestDeadHostMechanism(unittest.TestCase):
def setUp(self):
self.client = Etcd3Wrapper()
self.client = config.etcd_client
self.host_prefix = "/test/host"
self.vm_prefix = "/test/vm"