From 1e3bb1b7ffdbcc0b8d7b8ab717402a5fc734dbd4 Mon Sep 17 00:00:00 2001
From: baloola <baloola-mu@hotmail.com>
Date: Mon, 16 Nov 2020 16:30:18 +0100
Subject: [PATCH] fix preprocessor test

---
 testing/preprocessor_test.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testing/preprocessor_test.py b/testing/preprocessor_test.py
index af9a95ae..c0916efd 100644
--- a/testing/preprocessor_test.py
+++ b/testing/preprocessor_test.py
@@ -43,7 +43,8 @@ def list_tifs(products):
     return preprocessed_list
 
 def test_preprocessor(list_tifs):
-    
+    # check if there are preprocessed results in the buckets 
+    assert len(list_tifs) > 0
     for item in list_tifs:
         set_gdal_swift_auth()
         image = gdal.Open('/vsiswift/preprocessor_results/%s' % item, gdal.GA_ReadOnly)
-- 
GitLab