From aa5a4f29bd3128b5c02371a300be3ec279f58a28 Mon Sep 17 00:00:00 2001 From: PBM Date: Thu, 15 Jul 2021 02:16:11 +0200 Subject: [PATCH] fix: typos in test methods names (#7) --- test_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_module.py b/test_module.py index f646dec..66efeaf 100644 --- a/test_module.py +++ b/test_module.py @@ -26,7 +26,7 @@ class LinePlotTestCase(unittest.TestCase): expected = "Page Views" self.assertEqual(actual, expected, "Expected line plot ylabel to be 'Page Views'") - def test_line_plot_data_quatity(self): + def test_line_plot_data_quantity(self): actual = len(self.ax.lines[0].get_ydata()) expected = 1238 self.assertEqual(actual, expected, "Expected number of data points in line plot to be 1238.") @@ -111,7 +111,7 @@ class BoxPlotTestCase(unittest.TestCase): expected = "Month-wise Box Plot (Seasonality)" self.assertEqual(actual, expected, "Expected box plot 1 title to be 'Month-wise Box Plot (Seasonality)'") - def test_box_plot_number_of_boxs(self): + def test_box_plot_number_of_boxes(self): actual = len(self.ax1.lines) / 6 # Every box has 6 lines expected = 4 self.assertEqual(actual, expected, "Expected four boxes in box plot 1")