0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

test: test_eiger_plot.py optimised imports

This commit is contained in:
wyzula-jan
2023-09-28 17:06:07 +02:00
committed by wakonig_k
parent f74a6a0b8b
commit 08d956940e

View File

@ -1,10 +1,9 @@
import pytest import json
from unittest.mock import MagicMock, patch, Mock from unittest.mock import MagicMock, patch
import numpy as np import numpy as np
import pyqtgraph as pg import pyqtgraph as pg
import pytest
import zmq import zmq
import json
from PyQt5.QtWidgets import QPushButton
from bec_widgets.examples.eiger_plot.eiger_plot import EigerPlot from bec_widgets.examples.eiger_plot.eiger_plot import EigerPlot
@ -16,8 +15,6 @@ def eiger_plot_instance(qtbot):
return widget return widget
# Tests for on_image_update method
# class TestOnImageUpdate:
@pytest.mark.parametrize( @pytest.mark.parametrize(
"fft_checked, rotation_index, transpose_checked, log_checked, expected_image", "fft_checked, rotation_index, transpose_checked, log_checked, expected_image",
[ [