Functions
test_import Namespace Reference

Functions

def test_import ()
 

Function Documentation

def test_import.test_import ( )

Definition at line 3 of file test_import.py.

3 def test_import():
4 
5  try:
6  debug('Attempting to import geoalgo')
7  import ROOT
8  ROOT.gSystem.Load("liblarcorealg_GeoAlgo.so")
9  from ROOT import geoalgo
10  except Exception:
11  error('Import geoalgo unit test failed.')
12  return 1
13  info('geoalgo import succeeded.')
14  return 0
15 
error
Definition: include.cc:26
def test_import()
Definition: test_import.py:3