From 8868ab0dbc870ede17da06ddbb8a871e4efb5637 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 11 Oct 2026 16:55:41 +0000 Subject: [PATCH] Acceptance stub: import the checks from pymodaq.utils.plugin_testing (PyMoDAQ >= 5.3.2), not the deprecated shim Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Tdiso1u1ZhikSutj2Qs5Cg --- tests/test_plugin_package_structure.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_plugin_package_structure.py b/tests/test_plugin_package_structure.py index 8be6086..a7bdf2b 100644 --- a/tests/test_plugin_package_structure.py +++ b/tests/test_plugin_package_structure.py @@ -1,4 +1,4 @@ -"""Acceptance tests of the plugin, provided by PyMoDAQ (from version 5.3.1). +"""Acceptance tests of the plugin, provided by PyMoDAQ (from version 5.3.2). They check the package structure, the entry points, the naming of the instrument modules and classes, the mandatory attributes and methods of the plugin classes, and apply the static rules of PyMoDAQ on the sources @@ -12,13 +12,13 @@ import pytest try: - available = importlib.util.find_spec('pymodaq_utils.plugin_testing') is not None -except ModuleNotFoundError: # pymodaq_utils is not installed + available = importlib.util.find_spec('pymodaq.utils.plugin_testing') is not None +except ModuleNotFoundError: # pymodaq is not installed available = False if not available: - pytest.skip('The plugin acceptance checks need PyMoDAQ >= 5.3.1', allow_module_level=True) + pytest.skip('The plugin acceptance checks need PyMoDAQ >= 5.3.2', allow_module_level=True) -from pymodaq_utils.plugin_testing import PluginPackageChecks +from pymodaq.utils.plugin_testing import PluginPackageChecks class TestPlugin(PluginPackageChecks):