From 35b2fe0ee51c65b644edb274bc45c469f8ac431e Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson <oscar.gustafsson@gmail.com> Date: Thu, 6 Apr 2023 10:51:55 +0200 Subject: [PATCH] Test Simulation GUI --- test/test_simulation_gui.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/test_simulation_gui.py diff --git a/test/test_simulation_gui.py b/test/test_simulation_gui.py new file mode 100644 index 00000000..753f093c --- /dev/null +++ b/test/test_simulation_gui.py @@ -0,0 +1,11 @@ +import pytest + +try: + from b_asic.gui_utils.plot_window import PlotWindow +except ImportError: + pytestmark = pytest.mark.skip("Qt not setup") + + +def test_start(qtbot): + widget = PlotWindow({}) + qtbot.addWidget(widget) -- GitLab