Commit 95bf39af authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed tests.

Updated version info (0.14.2).
parent 551959d4
__version__ = '0.14.1'
__versionalias__ = '20180315.02'
__version__ = '0.14.2'
__versionalias__ = '20180315.03'
......@@ -122,7 +122,8 @@ class BaseTestCases:
self.assertIsInstance(self.L1A_newObjects[0], L1A_object)
# check if PC.add_local_availability finds the written dataset
self.check_availability(self.L1A_newObjects, 'L1A')
if self.PC.config.exec_L1AP[1]:
self.check_availability(self.L1A_newObjects, 'L1A')
def test_L1B_processing(self):
self.L1B_newObjects = self.PC.L1B_processing()
......@@ -131,7 +132,8 @@ class BaseTestCases:
self.assertIsInstance(self.L1B_newObjects[0], L1B_object)
# check if PC.add_local_availability finds the written dataset
self.check_availability(self.L1B_newObjects, 'L1B')
if self.PC.config.exec_L1BP[1]:
self.check_availability(self.L1B_newObjects, 'L1B')
def test_L1C_processing(self):
self.L1C_newObjects = self.PC.L1C_processing()
......@@ -140,8 +142,8 @@ class BaseTestCases:
self.assertIsInstance(self.L1C_newObjects[0], L1C_object)
# check if PC.add_local_availability finds the written dataset
# self.check_availability(self.L1C_newObjects, 'L1C')
# if self.PC.config.exec_L1CP[1]:
# self.check_availability(self.L1C_newObjects, 'L1C')
def test_L2A_processing(self):
self.L2A_newObjects = self.PC.L2A_processing()
......@@ -151,7 +153,8 @@ class BaseTestCases:
# check if PC.add_local_availability finds the written dataset
# FIXME this will fail because AC outputs TOA-Ref if ECMWF data are missing
# self.check_availability(self.L2A_newObjects, 'L2A')
# if self.PC.config.exec_L2AP[1]:
# self.check_availability(self.L2A_newObjects, 'L2A')
def test_L2B_processing(self):
self.L2B_newObjects = self.PC.L2B_processing()
......@@ -161,7 +164,8 @@ class BaseTestCases:
# check if PC.add_local_availability finds the written dataset
# FIXME this will fail because AC outputs TOA-Ref if ECMWF data are missing
# self.check_availability(self.L2B_newObjects, 'L2B')
# if self.PC.config.exec_L2BP[1]:
# self.check_availability(self.L2B_newObjects, 'L2B')
def test_L2C_processing(self):
self.L2C_newObjects = self.PC.L2C_processing()
......@@ -171,7 +175,8 @@ class BaseTestCases:
# check if PC.add_local_availability finds the written dataset
# FIXME this will fail because AC outputs TOA-Ref if ECMWF data are missing
# self.check_availability(self.L2C_newObjects, 'L2C') # FIXME fails (not yet working)
# if self.PC.config.exec_L2CP[1]:
# self.check_availability(self.L2C_newObjects, 'L2C') # FIXME fails (not yet working)
# Setting the config.status manually.
# if self.L2C_newObjects:
......
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