Skip to content

Commit

Permalink
fix fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Lefévère-Laoide authored and Fred Lefévère-Laoide committed Dec 18, 2024
1 parent 284b635 commit 56988e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gui_core/test_context_is_readable.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def sub_cb():

with patch("taipy.gui_core._context.is_readable", side_effect=mock_is_readable_false):
gui_core_context.submission_status_callback(a_submission.id)
mockget.assert_called_once()
mockget.assert_not_called()

def test_data_node_adapter(self):
with patch("taipy.gui_core._context.core_get", side_effect=mock_core_get):
Expand Down Expand Up @@ -385,7 +385,7 @@ def test_get_scenarios_for_owner(self):

with patch("taipy.gui_core._context.is_readable", side_effect=mock_is_readable_false):
gui_core_context.submission_status_callback(a_scenario.id)
mockget.assert_called_once()
mockget.assert_not_called()

def test_update_data(self):
with patch("taipy.gui_core._context.core_get", side_effect=mock_core_get):
Expand Down

0 comments on commit 56988e9

Please sign in to comment.