All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
test_import Namespace Reference

Functions

def test_import
 

Function Documentation

def test_import.test_import ( )

Definition at line 3 of file larcorealg/test/GeoAlgo/test_import.py.

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