Skip to content

Commit

Permalink
Adjust unit test to adhere to new menu dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
lisham2000 committed Sep 20, 2024
1 parent b371b00 commit d5e70ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nion/swift/test/DisplayPanel_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ def test_browser_display_panel_produces_context_menu_with_correct_item_count_ove
self.display_panel.root_container.refresh_layout_immediate()
self.display_panel.root_container.canvas_widget.on_context_menu_event(40, 40, 40, 40)
# show, sep, delete, sep, split h, split v, sep, none, sep, data, thumbnails, browser, sep
self.assertEqual(20, len(self.document_controller.ui.popup.items))
self.assertEqual(19, len(self.document_controller.ui.popup.items))

def test_browser_display_panel_produces_context_menu_with_correct_item_count_over_area_to_right_of_data_item(self):
d = {"type": "image", "display-panel-type": "browser-display-panel"}
Expand Down

0 comments on commit d5e70ff

Please sign in to comment.