Commit 8c4ca31d authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed not working mock.patch (not properly hiding the acwater import).

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent bc8b66c8
Pipeline #21034 failed with stage
in 12 minutes and 52 seconds
......@@ -80,8 +80,9 @@ class Test_EnPT_Controller_DLR_testdata_ACWater(TestCase):
def test_run_all_processors(self):
@patch('acwater.acwater.polymer_ac_enmap', None)
@patch('enpt.processors.atmospheric_correction.atmospheric_correction.polymer_ac_enmap', None)
def test_run_all_processors_without_acwater_installed(self):
"""Test to run all processors while replacing polymer_ac_enmap with None using mock.patch.patch."""
self.assertTrue("packages ACWater/Polymer are missing. "
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