diff --git a/tests/functional/openlp_core_lib/test_lib.py b/tests/functional/openlp_core_lib/test_lib.py
index c185f4e73..f2cff33e0 100644
--- a/tests/functional/openlp_core_lib/test_lib.py
+++ b/tests/functional/openlp_core_lib/test_lib.py
@@ -306,7 +306,7 @@ class TestLib(TestCase):
with patch(u'openlp.core.lib.FormattingTags.get_html_tags') as mocked_get_tags:
# GIVEN: Mocked get_html_tags() method.
mocked_get_tags.return_value = [{
- u'desc': translate('OpenLP.FormattingTags', 'Black'),
+ u'desc': u'Black',
u'start tag': u'{b}',
u'start html': u'',
u'end tag': u'{/b}', u'end html': u'', u'protected': True,
@@ -314,6 +314,7 @@ class TestLib(TestCase):
}]
string_to_pass = u'ASDF
foo{br}bar {b}black{/b}'
wanted_string = u'ASDF\nfoo\nbar black'
+
# WHEN: Clean the string.
result_string = clean_tags(string_to_pass)