Commit f335dc49dcd032a43e2e09df7516bc705586675a

Authored by Jürgen Knödlseder
1 parent 40b51184

Use installed test files for cstsmapsplit.py unit testing

Showing 1 changed file with 3 additions and 3 deletions
test/test_cstsmapsplit.py
... ... @@ -69,7 +69,7 @@ class Test(test):
69 69 cstsmapsplit = self._script('cstsmapsplit')
70 70  
71 71 # Setup cstsmapsplit command
72   - cmd = cstsmapsplit+' inobs="selected_events.fits"'+ \
  72 + cmd = cstsmapsplit+' inobs="data/crab_events.fits"'+ \
73 73 ' inmodel="data/crab.xml"'+ \
74 74 ' srcname="Crab"'+ \
75 75 ' caldb="prod2"'+ \
... ... @@ -99,7 +99,7 @@ class Test(test):
99 99 self._check_cmdfile('cstsmapsplit_cmd1.dat')
100 100  
101 101 # Setup cstsmapsplit command
102   - cmd = cstsmapsplit+' inobs="selected_events.fits"'+ \
  102 + cmd = cstsmapsplit+' inobs="data/crab_events.fits"'+ \
103 103 ' inmodel="data/crab.xml"'+ \
104 104 ' srcname="Does_not_exist"'+ \
105 105 ' caldb="prod2"'+ \
... ... @@ -131,7 +131,7 @@ class Test(test):
131 131 """
132 132 # Set-up cstsmapsplit
133 133 tsmapsplit = cscripts.cstsmapsplit()
134   - tsmapsplit['inobs'] = 'selected_events.fits'
  134 + tsmapsplit['inobs'] = 'data/crab_events.fits'
135 135 tsmapsplit['inmodel'] = 'data/crab.xml'
136 136 tsmapsplit['srcname'] = 'Crab'
137 137 tsmapsplit['caldb'] = 'prod2'
... ...