From 53cd64dbf27f0a33483887927eb1c67c578bce11 Mon Sep 17 00:00:00 2001 From: KatKatKateryna Date: Thu, 18 Jan 2024 17:34:30 +0000 Subject: [PATCH] add correct directory --- tests/unit/geometry_tests/conftest.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/unit/geometry_tests/conftest.py b/tests/unit/geometry_tests/conftest.py index ac6de014..abb7e63c 100644 --- a/tests/unit/geometry_tests/conftest.py +++ b/tests/unit/geometry_tests/conftest.py @@ -3,8 +3,15 @@ import os import sys +import speckle -sys.path.append(os.path.abspath(__file__)) +sys.path.append( + os.path.abspath( + os.path.dirname(speckle.__file__).replace( + "speckle-qgis\\speckle", "speckle-qgis\\specklepy_qt_ui" + ) + ) +) from specklepy_qt_ui.qt_ui.DataStorage import DataStorage