Skip to content
Snippets Groups Projects
Commit a6638690 authored by payno's avatar payno
Browse files

test_HDF5DataSelectionWidgetOW: fix test since the widget return an instance...

test_HDF5DataSelectionWidgetOW: fix test since the widget return an instance of OWSendDataset for backward compatibility
parent ec31ec8e
No related tags found
1 merge request!326Draft: Refactor data selection
Pipeline #181389 passed
......@@ -3,7 +3,7 @@ import h5py
import numpy
import pytest
from darfix.dtypes import Dataset
from darfix.dtypes import OWSendDataset
from darfix.gui.utils.qsignalspy import QSignalSpy
from ewoksorange.tests.conftest import qtapp # noqa F401
from orangecontrib.darfix.widgets.hdf5dataselection import HDF5DataSelectionWidgetOW
......@@ -64,4 +64,4 @@ def test_HDF5DataSelectionWidgetOW(tmp_path, qtapp): # noqa F811
waiter.wait(5000)
dataset = window.get_task_output_value("dataset")
assert isinstance(dataset, Dataset)
assert isinstance(dataset, OWSendDataset)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment