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