From 6ceccf01cb539d5b8ac0a2175ac45915f68e6d9e Mon Sep 17 00:00:00 2001 From: Mateus Meyer Jiacomelli Date: Wed, 23 Nov 2022 13:23:21 -0300 Subject: [PATCH] planningcenter test fix due to locale differences --- .../planningcenter/forms/test_selectplanform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/openlp_plugins/planningcenter/forms/test_selectplanform.py b/tests/openlp_plugins/planningcenter/forms/test_selectplanform.py index ce2f1dd47..d29788c80 100644 --- a/tests/openlp_plugins/planningcenter/forms/test_selectplanform.py +++ b/tests/openlp_plugins/planningcenter/forms/test_selectplanform.py @@ -111,8 +111,8 @@ class TestSelectPlanForm(TestCase, TestMixin): 'The service_type_combo_box defaults to "gbf"') # the selected plan is today (the mocked date is a Sunday). Set to lowercase beacuse in some locales # months is not capitalized. - self.assertEqual(self.form.plan_selection_combo_box.currentText().lower(), - date.strftime(mock_date.today.return_value, '%B %d, %Y').lower(), + self.assertEqual(self.form.plan_selection_combo_box.currentText(), + 'September 29, 2019', 'Incorrect default date selected for Plan Date') # count the number of themes listed and make sure it matches expected value self.assertEqual(self.form.song_theme_selection_combo_box.count(),