From b4dbd3c002ccf2bc4e499d8427b5fda06a5c9d50 Mon Sep 17 00:00:00 2001 From: Curtis Stallings Date: Fri, 4 Nov 2022 13:14:59 -0500 Subject: [PATCH] Improved Test for PyTables and PyPartitions --- test/test_tabular.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_tabular.py b/test/test_tabular.py index 7403bca..8756a36 100644 --- a/test/test_tabular.py +++ b/test/test_tabular.py @@ -100,12 +100,12 @@ def test_pytables_count(model): @pytest.mark.parametrize("model", testing_parameters) def test_pytables_refresh(model): - assert model.Tables[testingtablename].Refresh() + assert len(model.Tables[testingtablename].Refresh()) > 0 @pytest.mark.parametrize("model", testing_parameters) def test_pypartitions_refresh(model): - assert model.Tables[testingtablename].Partitions[0].Refresh() + assert len(model.Tables[testingtablename].Partitions[0].Refresh()) > 0 @pytest.mark.parametrize("model", testing_parameters)