Skip to content

Commit

Permalink
Fix the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Horton committed Oct 19, 2023
1 parent 20f1d16 commit 5cc64f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_view_dicom_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def test_object():
def test_one_view_handling(qtbot, test_object, init_config):
test_object.main_window.show()
test_object.main_window.action_handler.action_one_view.trigger()
assert isinstance(test_object.main_window.dicom_single_view_widget, DicomView) is True
assert isinstance(test_object.main_window.dicom_single_view, DicomView) is True
assert test_object.main_window.dicom_view.currentWidget() == test_object.main_window.dicom_single_view_widget


Expand Down
2 changes: 1 addition & 1 deletion test/test_view_structures_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def test_structure_tab_uncheck_checkboxes(test_object):
del test_object.new_polygons[name]

# Get the actual selected ROIs
selected_rois = test_object.main_window.dicom_single_view_widget.patient_dict_container.get("selected_rois")
selected_rois = test_object.main_window.dicom_single_view.patient_dict_container.get("selected_rois")
selected_roi_names = []
for selected_roi in selected_rois:
selected_roi_names.append(test_object.rois[selected_roi]["name"])
Expand Down

0 comments on commit 5cc64f8

Please sign in to comment.