From 975aadbf073eae6eb5617bd6c639daded0b185ce Mon Sep 17 00:00:00 2001 From: wyzula-jan <133381102+wyzula-jan@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:21:29 +0100 Subject: [PATCH] refactor: changed widget_IO.py to widget_io.py for consistency; widget_io.py example excluded from coverage --- bec_widgets/qt_utils/{widget_IO.py => widget_io.py} | 2 +- tests/test_widget_io.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename bec_widgets/qt_utils/{widget_IO.py => widget_io.py} (99%) diff --git a/bec_widgets/qt_utils/widget_IO.py b/bec_widgets/qt_utils/widget_io.py similarity index 99% rename from bec_widgets/qt_utils/widget_IO.py rename to bec_widgets/qt_utils/widget_io.py index 9ed8e7c5..c2dbb48b 100644 --- a/bec_widgets/qt_utils/widget_IO.py +++ b/bec_widgets/qt_utils/widget_io.py @@ -212,7 +212,7 @@ class WidgetHierarchy: # Example application to demonstrate the usage of the functions -if __name__ == "__main__": +if __name__ == "__main__": # pragma: no cover app = QApplication([]) # Create instance of WidgetHierarchy diff --git a/tests/test_widget_io.py b/tests/test_widget_io.py index 7f40eecb..c6b822d7 100644 --- a/tests/test_widget_io.py +++ b/tests/test_widget_io.py @@ -8,7 +8,7 @@ from PyQt5.QtWidgets import ( QSpinBox, ) -from bec_widgets.qt_utils.widget_IO import WidgetHierarchy +from bec_widgets.qt_utils.widget_io import WidgetHierarchy @pytest.fixture(scope="function")