Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ptsavol committed Feb 21, 2024
1 parent fcd0f53 commit f080448
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/data_transformer/test_data_transformer_icon.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def tearDown(self):

def test_mouse_double_click_event(self):
icon = self._toolbox.project()._project_items["DT"].get_icon()
with mock.patch("spine_items.data_transformer.data_transformer.DataTransformer.show_specification_window") as mock_show_spec_window:
with mock.patch(
"spine_items.data_transformer.data_transformer.DataTransformer.show_specification_window"
) as mock_show_spec_window:
mock_show_spec_window.return_value = True
icon.mouseDoubleClickEvent(QGraphicsSceneMouseEvent(QEvent.Type.GraphicsSceneMouseDoubleClick))
mock_show_spec_window.assert_called()
Expand Down

0 comments on commit f080448

Please sign in to comment.