From 353b5a84a655d557c915c789eaa1afa45cb52892 Mon Sep 17 00:00:00 2001 From: jbirddog <100367399+jbirddog@users.noreply.github.com> Date: Wed, 7 Feb 2024 11:37:38 -0500 Subject: [PATCH] Support top level data stores, not exposed via the UI yet (#986) --- .../src/spiffworkflow_backend/services/upsearch_service.py | 2 ++ .../tests/spiffworkflow_backend/unit/test_upsearch_service.py | 1 + 2 files changed, 3 insertions(+) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/upsearch_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/upsearch_service.py index b1732e67..2539230e 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/upsearch_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/upsearch_service.py @@ -11,4 +11,6 @@ class UpsearchService: locations.append(location) location = os.path.dirname(location) + locations.append("") + return locations diff --git a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_upsearch_service.py b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_upsearch_service.py index ede25b54..8398055a 100644 --- a/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_upsearch_service.py +++ b/spiffworkflow-backend/tests/spiffworkflow_backend/unit/test_upsearch_service.py @@ -13,4 +13,5 @@ class TestUpsearchService(BaseTest): "misc/jonjon/generic-data-store-area", "misc/jonjon", "misc", + "", ]