0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

test: test_eiger_plot.py optimised imports

This commit is contained in:
wyzula-jan
2023-09-28 17:06:07 +02:00
parent 4772c244c2
commit 5e9deae765

View File

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