Commit d76307b5 authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files

fixed unit test


Signed-off-by: Benjamin Jakimow's avatarBenjamin Jakimow <benjamin.jakimow@geo.hu-berlin.de>
parent b7fbd6c2
Pipeline #12591 failed
......@@ -111,8 +111,6 @@ class TestTimeSeries(EOTSVTestCase):
def onFinished(success, task):
self.assertIsInstance(task, TimeSeriesFindOverlapTask)
if success:
onOverlapp(task.mIntersections)
ext_full = tss.spatialExtent()
ext_nodata = SpatialExtent(ext_full.crs(),
......@@ -129,13 +127,11 @@ class TestTimeSeries(EOTSVTestCase):
for ext in [ext_full, ext_nodata, ext_outofbounds]:
task = TimeSeriesFindOverlapTask(ext, [tss], sampleSize=1024, callback=onFinished)
#task.sigTimeSeriesSourceOverlap.connect(onOverlapp)
task.sigTimeSeriesSourceOverlap.connect(onOverlapp)
task.finished(task.run())
self.assertListEqual(overlapped, [True, False, False])
s = ""
def test_find_overlap_memory_leak(self):
from eotimeseriesviewer.main import EOTimeSeriesViewer
......
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