FairShip
Loading...
Searching...
No Matches
conftest Namespace Reference

Functions

 root_with_shipdata ()
 root_with_calo_scoring_plane (root_with_shipdata)

Function Documentation

◆ root_with_calo_scoring_plane()

conftest.root_with_calo_scoring_plane ( root_with_shipdata)

Definition at line 20 of file conftest.py.

20def root_with_calo_scoring_plane(root_with_shipdata):
21 ROOT = root_with_shipdata
22 if ROOT.gSystem.Load("libCaloScoringPlane") < 0:
23 pytest.skip("libCaloScoringPlane not available")
24 return ROOT

◆ root_with_shipdata()

conftest.root_with_shipdata ( )

Definition at line 10 of file conftest.py.

10def root_with_shipdata():
11 ROOT = pytest.importorskip("ROOT")
12 if ROOT.gSystem.Load("libShipData") < 0:
13 pytest.skip("libShipData not available")
14 return ROOT
15
16
17# libCaloScoringPlane links libShipData. Request root_with_shipdata first so
18# that libShipData is loaded by that one fixture and not again later.
19@pytest.fixture(scope="session")