diff --git a/tests/functional/openlp_core_lib/test_lib.py b/tests/functional/openlp_core_lib/test_lib.py
index 44ca08394..7c5ee4699 100644
--- a/tests/functional/openlp_core_lib/test_lib.py
+++ b/tests/functional/openlp_core_lib/test_lib.py
@@ -230,7 +230,7 @@ class TestLib(TestCase):
# GIVEN: A set of mocked-out Qt classes
mocked_byte_array = MagicMock()
MockedQtCore.QByteArray.return_value = mocked_byte_array
- mocked_byte_array.toBase64.return_value = QtCore.QByteArray('base64mock')
+ mocked_byte_array.toBase64.return_value = QtCore.QByteArray(b'base64mock')
mocked_buffer = MagicMock()
MockedQtCore.QBuffer.return_value = mocked_buffer
MockedQtCore.QIODevice.WriteOnly = 'writeonly'
diff --git a/tests/functional/openlp_core_lib/test_renderer.py b/tests/functional/openlp_core_lib/test_renderer.py
index fd3c17054..4b0ab41f6 100644
--- a/tests/functional/openlp_core_lib/test_renderer.py
+++ b/tests/functional/openlp_core_lib/test_renderer.py
@@ -109,7 +109,7 @@ class TestRenderer(TestCase):
"""
# GIVEN: A line of with a space text and the logical split
renderer = Renderer()
- renderer.empty_height = 25
+ renderer.empty_height = 480
given_line = 'a\n[---]\nb'
expected_words = ['a
[---]
b']
service_item = ServiceItem(None)
@@ -126,7 +126,7 @@ class TestRenderer(TestCase):
"""
# GIVEN: A line of with a space before the logical split
renderer = Renderer()
- renderer.empty_height = 25
+ renderer.empty_height = 480
given_line = '\n [---]\n'
expected_words = ['
[---]']
service_item = ServiceItem(None)
@@ -143,7 +143,7 @@ class TestRenderer(TestCase):
"""
# GIVEN: A line of with a space after the logical split
renderer = Renderer()
- renderer.empty_height = 25
+ renderer.empty_height = 480
given_line = '\n[---] \n'
expected_words = ['
[---] ']
service_item = ServiceItem(None)