From 091cb079e74e0a276c08c69e58d1c4c0465c221f Mon Sep 17 00:00:00 2001 From: Phill Ridout Date: Mon, 26 Jan 2015 20:43:53 +0000 Subject: [PATCH] Fix up tests --- tests/functional/openlp_core_ui_media/test_webkitplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/openlp_core_ui_media/test_webkitplayer.py b/tests/functional/openlp_core_ui_media/test_webkitplayer.py index 9de430f04..cea0aa4ad 100644 --- a/tests/functional/openlp_core_ui_media/test_webkitplayer.py +++ b/tests/functional/openlp_core_ui_media/test_webkitplayer.py @@ -56,7 +56,7 @@ class TestWebkitPlayer(TestCase): """ # GIVEN: A WebkitPlayer instance and a mocked QWebPage mocked_qwebpage = MagicMock() - mocked_qwebpage.mainFrame().evaluateJavaScript.return_value = '[object HTMLUnknownElement]' + mocked_qwebpage.mainFrame().evaluateJavaScript.return_value = '[object HTMLVideoElement]' with patch('openlp.core.ui.media.webkitplayer.QtWebKit.QWebPage', **{'return_value': mocked_qwebpage}): webkit_player = WebkitPlayer(None)