コード例 #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')