From d5ee9bc56b823ec7518b5d48aaae04a0f6aa784d Mon Sep 17 00:00:00 2001 From: StableLlama Date: Sun, 25 May 2025 17:32:39 +0200 Subject: [PATCH] Additional attempt to make GitHub automatic tests work --- .github/workflows/build-pipeline.yml | 1 - tests/conftest.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-pipeline.yml b/.github/workflows/build-pipeline.yml index a42d292..1287d3b 100644 --- a/.github/workflows/build-pipeline.yml +++ b/.github/workflows/build-pipeline.yml @@ -35,4 +35,3 @@ jobs: - name: Run Tests run: | pytest tests/ - working-directory: ./ diff --git a/tests/conftest.py b/tests/conftest.py index 4a85996..76b82ee 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,10 +1,10 @@ -import os -import sys +#import os +#import sys # from unittest.mock import MagicMock # # # Add the project root directory to Python path # # This allows the tests to import the project -sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) +#sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) # # print("=======================================================================") # print("Mocking 'comfy.comfy_types.node_typing' via conftest.py")