From f335dc49dcd032a43e2e09df7516bc705586675a Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 1 Jul 2016 15:35:46 +0200 Subject: [PATCH] Use installed test files for cstsmapsplit.py unit testing --- test/test_cstsmapsplit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_cstsmapsplit.py b/test/test_cstsmapsplit.py index 21686d8..ae289d5 100755 --- a/test/test_cstsmapsplit.py +++ b/test/test_cstsmapsplit.py @@ -69,7 +69,7 @@ class Test(test): cstsmapsplit = self._script('cstsmapsplit') # Setup cstsmapsplit command - cmd = cstsmapsplit+' inobs="selected_events.fits"'+ \ + cmd = cstsmapsplit+' inobs="data/crab_events.fits"'+ \ ' inmodel="data/crab.xml"'+ \ ' srcname="Crab"'+ \ ' caldb="prod2"'+ \ @@ -99,7 +99,7 @@ class Test(test): self._check_cmdfile('cstsmapsplit_cmd1.dat') # Setup cstsmapsplit command - cmd = cstsmapsplit+' inobs="selected_events.fits"'+ \ + cmd = cstsmapsplit+' inobs="data/crab_events.fits"'+ \ ' inmodel="data/crab.xml"'+ \ ' srcname="Does_not_exist"'+ \ ' caldb="prod2"'+ \ @@ -131,7 +131,7 @@ class Test(test): """ # Set-up cstsmapsplit tsmapsplit = cscripts.cstsmapsplit() - tsmapsplit['inobs'] = 'selected_events.fits' + tsmapsplit['inobs'] = 'data/crab_events.fits' tsmapsplit['inmodel'] = 'data/crab.xml' tsmapsplit['srcname'] = 'Crab' tsmapsplit['caldb'] = 'prod2' -- libgit2 0.21.4