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

test: added initial tests for extreme.py

This commit is contained in:
wyzula-jan
2023-09-28 16:10:09 +02:00
committed by wakonig_k
parent c827a25dab
commit 779f34f500
2 changed files with 177 additions and 3 deletions

View File

@ -78,9 +78,6 @@ def test_start_zmq_consumer(eiger_plot_instance):
MockThread.return_value.start.assert_called_once()
# TODO fix this test
def test_zmq_consumer(eiger_plot_instance, qtbot):
fake_meta = json.dumps({"type": "int32", "shape": (2, 2)}).encode("utf-8")
fake_data = np.array([[1, 2], [3, 4]], dtype="int32").tobytes()