mirror of https://gitlab.com/openlp/openlp.git
Merge branch 'planningcenter-test-fix' into 'master'
Fixing PlanningCenter's plugin test See merge request openlp/openlp!510
This commit is contained in:
commit
25b01b0bd4
|
@ -111,8 +111,8 @@ class TestSelectPlanForm(TestCase, TestMixin):
|
||||||
'The service_type_combo_box defaults to "gbf"')
|
'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
|
# the selected plan is today (the mocked date is a Sunday). Set to lowercase beacuse in some locales
|
||||||
# months is not capitalized.
|
# months is not capitalized.
|
||||||
self.assertEqual(self.form.plan_selection_combo_box.currentText().lower(),
|
self.assertEqual(self.form.plan_selection_combo_box.currentText(),
|
||||||
date.strftime(mock_date.today.return_value, '%B %d, %Y').lower(),
|
'September 29, 2019',
|
||||||
'Incorrect default date selected for Plan Date')
|
'Incorrect default date selected for Plan Date')
|
||||||
# count the number of themes listed and make sure it matches expected value
|
# count the number of themes listed and make sure it matches expected value
|
||||||
self.assertEqual(self.form.song_theme_selection_combo_box.count(),
|
self.assertEqual(self.form.song_theme_selection_combo_box.count(),
|
||||||
|
|
Loading…
Reference in New Issue