From 70c36333a8485e0e70f3a1b14bb2b7d9bdb3d678 Mon Sep 17 00:00:00 2001 From: Joe Knapper Date: Thu, 26 Mar 2026 17:25:47 +0000 Subject: [PATCH] Data path based on containing DIR location --- tests/unit_tests/test_stack_examples.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit_tests/test_stack_examples.py b/tests/unit_tests/test_stack_examples.py index 81fda2d2..27b5123c 100644 --- a/tests/unit_tests/test_stack_examples.py +++ b/tests/unit_tests/test_stack_examples.py @@ -18,6 +18,7 @@ from openflexure_microscope_server.things.autofocus import AutofocusThing THIS_DIR = os.path.dirname(__file__) DATA_PATH = os.path.join(THIS_DIR, "data", "sharpness_test_cases.json") + class MockCapture: """Simple mock object representing a captured image.