From e516e9d827ce8d42a36bde2502f0584e945bf255 Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Mon, 16 Aug 2021 17:58:48 +0200
Subject: [PATCH] Update tests w.r.t. container flag on run

---
 km3buu/tests/test_ctrl.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/km3buu/tests/test_ctrl.py b/km3buu/tests/test_ctrl.py
index 6d31099..0fc92e1 100644
--- a/km3buu/tests/test_ctrl.py
+++ b/km3buu/tests/test_ctrl.py
@@ -35,7 +35,7 @@ class TestCTRLbyJobcardFile(unittest.TestCase):
             writer.writerows(zip(ene, np.power(ene, -1)))
         jc = read_jobcard(self.filename)
         jc["neutrino_induced"]["FileNameFlux"] = self.flux_file.name
-        self.retval = run_jobcard(jc, self.output_dir.name)
+        self.retval = run_jobcard(jc, self.output_dir.name, container=True)
         log = get_logger("ctrl.py")
         log.setLevel("INFO")
 
@@ -78,7 +78,7 @@ class TestCTRLbyJobcardObject(unittest.TestCase):
         self.test_jobcard["neutrinoAnalysis"]["outputEvents"] = True
         self.test_jobcard["pythia"]["PARP(91)"] = 0.44
         self.output_dir = TemporaryDirectory()
-        self.retval = run_jobcard(self.test_jobcard, self.output_dir.name)
+        self.retval = run_jobcard(self.test_jobcard, self.output_dir.name, container=True)
         # raise Exception(self.test_jobcard)
 
     def test_output(self):
-- 
GitLab