diff --git a/frappe/core/doctype/translation/test_translation.py b/frappe/core/doctype/translation/test_translation.py
index aa40fc39c0..5b4a078951 100644
--- a/frappe/core/doctype/translation/test_translation.py
+++ b/frappe/core/doctype/translation/test_translation.py
@@ -58,9 +58,9 @@ class TestTranslation(unittest.TestCase):
self.assertTrue(_(data[1][0]), data[1][1])
def get_translation_data():
- html_source_data = """
- Test Data """
- html_translated_data = """
+ html_source_data = """
+ Test Data"""
+ html_translated_data = """
testituloksia """
return {'hr': ['Test data', 'Testdaten'],