Exemplo n.º 1
0
 def test_check_notproxmox(self):
     with self.assertRaises(ssh_proxmox.NotProxmoxError):
         ssh_proxmox.run_ssh_proxmox('127.0.0.1')
Exemplo n.º 2
0
 def test_check_notproxmox(self):
     with self.assertRaises(ssh_proxmox.NotProxmoxError):
         ssh_proxmox.run_ssh_proxmox('127.0.0.1')
Exemplo n.º 3
0
 def test_check_proxmox2(self):
     result = ssh_proxmox.run_ssh_proxmox('127.0.0.1')
     self.assertEqual(result, 'test')
Exemplo n.º 4
0
 def test_check_proxmox2(self):
     result = ssh_proxmox.run_ssh_proxmox('127.0.0.1')
     self.assertEqual(result, 'test')