def test_convert_host_name(self):
    name = 'ks-node3-000c2960a794-000c2960a797'
    result = self.driver._convert_host_name(name)
    expected = md5(name.encode('utf-8'), usedforsecurity=False).hexdigest()
    self.assertEqual(result, expected)
def test_convert_host_name(self):
    name = 'ks-node3-000c2960a794-000c2960a797'
    result = self.driver._convert_host_name(name)
    expected = md5(name.encode('utf-8'), usedforsecurity=False).hexdigest()
    self.assertEqual(result, expected)