From 884f060dea2795be1387dd0b0f7561787cad398d Mon Sep 17 00:00:00 2001 From: Ken Roberts Date: Sun, 24 Apr 2016 04:22:04 -0700 Subject: [PATCH] Oops and text in projector test --- openlp/core/common/__init__.py | 2 +- tests/functional/openlp_core_lib/test_projector_pjlink1.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openlp/core/common/__init__.py b/openlp/core/common/__init__.py index 8b6a935c4..17fdf027b 100644 --- a/openlp/core/common/__init__.py +++ b/openlp/core/common/__init__.py @@ -404,5 +404,5 @@ def check_binary_exists(program_path): except Exception: trace_error_handler(log) runlog = '' - log.debug('check_output returned: {text}'.format(text=runlog) + log.debug('check_output returned: {text}'.format(text=runlog)) return runlog diff --git a/tests/functional/openlp_core_lib/test_projector_pjlink1.py b/tests/functional/openlp_core_lib/test_projector_pjlink1.py index 95d86efe9..4f81b2660 100644 --- a/tests/functional/openlp_core_lib/test_projector_pjlink1.py +++ b/tests/functional/openlp_core_lib/test_projector_pjlink1.py @@ -156,7 +156,7 @@ class TestPJLink(TestCase): @patch.object(pjlink_test, 'projectorReceivedData') def projector_process_power_on_test(self, mock_projectorReceivedData): """ - Test setting power on + Test setting power to ON """ # GIVEN: Test object and preset pjlink = pjlink_test @@ -171,7 +171,7 @@ class TestPJLink(TestCase): @patch.object(pjlink_test, 'projectorReceivedData') def projector_process_power_off_test(self, mock_projectorReceivedData): """ - Test setting power off + Test setting power to STANDBY """ # GIVEN: Test object and preset pjlink = pjlink_test @@ -180,5 +180,5 @@ class TestPJLink(TestCase): # WHEN: Call process_command with turn power on command pjlink.process_command('POWR', PJLINK_POWR_STATUS[S_STANDBY]) - # THEN: Power should be set to ON + # THEN: Power should be set to STANDBY self.assertEquals(pjlink.power, S_STANDBY, 'Power should have been set to STANDBY')