aics-int / napari-allencell-annotator

Other
0 stars 1 forks source link

Fix the three failing tests #30

Closed yrkim98 closed 3 weeks ago

yrkim98 commented 9 months ago

Three currently failing tests, need to fix

FAILED napari_allencell_annotator/_tests/controller/main_controller_test.py::TestMainController::test_annotating_shortcuts_on - unittest.mock.InvalidSpecError: Cannot autospec attr 'activated' from target <MagicMock spec='QShortcut' id='11303595568'> as it has already been...
FAILED napari_allencell_annotator/_tests/controller/main_controller_test.py::TestMainController::test_annotating_shortcuts_off - unittest.mock.InvalidSpecError: Cannot autospec attr 'activated' from target <MagicMock spec='QShortcut' id='11307789392'> as it has already been...
FAILED napari_allencell_annotator/_tests/widgets/annotation_widget_test.py::TestAnnotationWidget::test_remove_item - unittest.mock.InvalidSpecError: Cannot autospec attr 'sizeHint' from target <MagicMock spec='AnnotationItem' id='11435027632'> as it has already ...
==================================================== 3 failed, 285 passed, 10 warnings in 20.48s =====================