diff --git a/openlp/core/api/poll.py b/openlp/core/api/poll.py index 84f46c38c..f51cf4d4f 100644 --- a/openlp/core/api/poll.py +++ b/openlp/core/api/poll.py @@ -27,7 +27,7 @@ from openlp.core.common import RegistryProperties, Settings class Poller(RegistryProperties): """ - Access by the web layer to get status type information from the application + Accessed by the web layer to get status type information from the application """ def __init__(self): """ diff --git a/tests/functional/openlp_core_api/test_controller.py b/tests/functional/openlp_core_api/test_controller.py index 08a164d0f..d4c60b430 100644 --- a/tests/functional/openlp_core_api/test_controller.py +++ b/tests/functional/openlp_core_api/test_controller.py @@ -35,12 +35,12 @@ class TestController(TestCase): """ A test suite to test out the Error in the API code """ - @patch('openlp.core.api.controller.Poll') + @patch('openlp.core.api.controller.Poller') @patch('openlp.core.api.controller.WebSocketServer') - @patch('openlp.core.api.controller.http.HttpServer') + @patch('openlp.core.api.controller.HttpServer') def test_bootstrap(self, mock_http, mock_ws, mock_poll): """ - Test the Not Found error displays the correct information + Test the controller creates the correct objects. """ # GIVEN: A controller Registry.create()