From 2a1d963371eefb7bd6d1f0c784ec97acb2ae40c5 Mon Sep 17 00:00:00 2001 From: Roy Willy Haug Date: Thu, 14 Dec 2023 12:23:18 +0100 Subject: [PATCH] Small fixes --- tests/test_uploads_from_komodo.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/test_uploads_from_komodo.py b/tests/test_uploads_from_komodo.py index ae07437..eba6fe0 100644 --- a/tests/test_uploads_from_komodo.py +++ b/tests/test_uploads_from_komodo.py @@ -115,7 +115,7 @@ def test_case_tables(explorer: Explorer): seed() random_index = randint(0, len(case.tables) - 1) arrow = case.tables[random_index].to_arrow() - arrow.validate() # ? + arrow.validate() def test_case_polygons(explorer: Explorer): @@ -140,9 +140,8 @@ def test_case_polygons(explorer: Explorer): # No need to test every blob element every time seed() random_index = randint(0, len(case.polygons) - 1) - obj = case.polygons[random_index].to_pandas() - # obj.validate() # ? - + case.polygons[random_index].to_pandas() + def test_case_dictionaries(explorer: Explorer): """Test dictionaries from the latest case uploaded from komodo-releases""" @@ -172,7 +171,6 @@ def test_case_dictionaries(explorer: Explorer): random_index = randint(0, len(case.dictionaries) - 1) obj = case.dictionaries[random_index] obj._blob - # obj.validate() # ? @pytest.mark.skipif(