This commit is contained in:
ahmadbilalkhalid 2019-08-28 21:05:43 +05:00
commit 59dd365dd5
8 changed files with 15 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"