Skip to content

Commit

Permalink
Updated unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiMacielPereira committed Oct 31, 2023
1 parent e66cb1a commit 33d355c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/plot_options_presenter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,3 @@ def test_set_all_fonts_size(self):
fonts_updated = {'title_size': 20, 'x_range_font_size': 20, 'y_range_font_size': 20,
'x_label_size': 20, 'y_label_size': 20}
model_all_fonts_size.assert_any_call(fonts_updated) # Not latest call due to copy() methods

def test_increase_all_fonts(self):
self.presenter = CutPlotOptionsPresenter(self.view, self.model)
self.presenter._increase_all_fonts()
self.model.increase_all_fonts.assert_called_once_with()

def test_decrease_all_fonts(self):
self.presenter = CutPlotOptionsPresenter(self.view, self.model)
self.presenter._decrease_all_fonts()
self.model.decrease_all_fonts.assert_called_once_with()

0 comments on commit 33d355c

Please sign in to comment.