def _testShutdownVM_NotConnected(self): """Test method for ScalarisVM.shutdownVM() with a closed connection.""" vm = ScalarisVM() vm.close_connection() #self.assertRaises(scalaris.ConnectionError, vm.shutdownVM()) vm.shutdownVM() vm.close_connection()
def _testShutdownVM1(self): """Test method for ScalarisVM.shutdownVM().""" vm = ScalarisVM() vm.shutdownVM() vm.close_connection()