Commit e7dd4bb3 authored by bsilva's avatar bsilva

update test_controller

parent 443e7c04
Pipeline #9927 failed with stage
in 10 minutes and 13 seconds
......@@ -46,7 +46,8 @@ __author__ = 'Daniel Scheffler'
class Test_EnPT_Controller(TestCase):
def setUp(self):
self.CTR = EnPT_Controller(**config_for_testing_water)
self.CTR = EnPT_Controller(**config_for_testing)
# self.CTR = EnPT_Controller(**config_for_testing_water)
def tearDown(self):
# NOTE: ignore_errors deletes the folder, regardless of whether it contains read-only files
......@@ -56,16 +57,16 @@ class Test_EnPT_Controller(TestCase):
self.CTR.run_all_processors()
# class Test_EnPT_Controller_DLR_testdata(TestCase):
# def setUp(self):
# self.CTR = EnPT_Controller(**config_for_testing_dlr)
#
# def tearDown(self):
# # NOTE: ignore_errors deletes the folder, regardless of whether it contains read-only files
# shutil.rmtree(self.CTR.cfg.output_dir, ignore_errors=True)
#
# def test_run_all_processors(self):
# self.CTR.run_all_processors()
class Test_EnPT_Controller_DLR_testdata(TestCase):
def setUp(self):
self.CTR = EnPT_Controller(**config_for_testing_dlr)
def tearDown(self):
# NOTE: ignore_errors deletes the folder, regardless of whether it contains read-only files
shutil.rmtree(self.CTR.cfg.output_dir, ignore_errors=True)
def test_run_all_processors(self):
self.CTR.run_all_processors()
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment