This commit is contained in:
Tim Bentley 2016-07-23 05:48:36 +01:00
parent ea846abab2
commit 25a43669d7
2 changed files with 4 additions and 4 deletions

View File

@ -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):
"""

View File

@ -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()