From b53202440146a2a737363166fe8c8dc0e6e963a8 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Wed, 11 Jan 2017 20:15:55 +0000 Subject: [PATCH] Fix up comments in test --- tests/functional/openlp_core_ui/test_aboutform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/openlp_core_ui/test_aboutform.py b/tests/functional/openlp_core_ui/test_aboutform.py index 1ce29e960..060876fbd 100644 --- a/tests/functional/openlp_core_ui/test_aboutform.py +++ b/tests/functional/openlp_core_ui/test_aboutform.py @@ -66,13 +66,13 @@ class TestFirstTimeForm(TestCase, TestMixin): """ Test that the copyright date is included correctly """ - # GIVEN: A mocked out get_application_version function + # GIVEN: A correct application date date_string = "2004-%s" % datetime.date.today().year # WHEN: The about form is created about_form = AboutForm(None) license_text = about_form.license_text_edit.toPlainText() - # THEN: The build number should be in the text + # THEN: The date should be in the text twice. self.assertTrue(license_text.count(date_string, 0) == 2, "The text string should be added twice to the license string")