Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larcorealg
test
GeoAlgo
larcorealg/test/GeoAlgo/test_import.py
Go to the documentation of this file.
1
from
test_msg
import
debug, info, error, warning
2
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
16
if
__name__ ==
'__main__'
:
17
test_import
()
18
test_import
Definition:
larcorealg/test/GeoAlgo/test_import.py:1
test_msg.error
error
Definition:
larcorealg/test/GeoAlgo/test_msg.py:32
test_import.test_import
def test_import
Definition:
larcorealg/test/GeoAlgo/test_import.py:3
debug
debug
Definition:
icaruscode/test/fcl/testFHiCLfiles.sh:353
sortDataLoggerFiles.info
tuple info
Definition:
sortDataLoggerFiles.py:393
Generated by
1.8.5