From ed28ad2ebc7b7e3c5c445af2a15e371664d14691 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Tue, 14 Jun 2016 21:48:32 +0100 Subject: [PATCH] fix tests --- tests/functional/openlp_plugins/remotes/test_router.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/openlp_plugins/remotes/test_router.py b/tests/functional/openlp_plugins/remotes/test_router.py index c9d089632..1d58513a1 100644 --- a/tests/functional/openlp_plugins/remotes/test_router.py +++ b/tests/functional/openlp_plugins/remotes/test_router.py @@ -26,7 +26,7 @@ import os import urllib.request from unittest import TestCase -from openlp.core.api.poll import Poll +from openlp.core.api import Poll from openlp.core.common import Settings, Registry from openlp.core.ui import ServiceManager from openlp.plugins.remotes.lib.httpserver import HttpRouter @@ -74,7 +74,7 @@ class TestRouter(TestCase, TestMixin): Settings().setValue('remotes/user id', 'openlp') Settings().setValue('remotes/password', 'password') poll = MagicMock() - Registry().register('OpenLPPoll', poll) + Registry().register('api_poll', poll) # WHEN: called with the defined userid router = HttpRouter()