1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

Fix error log (#2349)

This commit is contained in:
Paulus Schoutsen
2016-06-21 22:26:40 -07:00
committed by GitHub
parent 278514b994
commit a564fe8286
2 changed files with 2 additions and 2 deletions

View File

@@ -225,7 +225,7 @@ class TestAPI(unittest.TestCase):
def test_api_get_error_log(self):
"""Test the return of the error log."""
test_content = 'Test String'
test_content = 'Test String°'
with tempfile.NamedTemporaryFile() as log:
log.write(test_content.encode('utf-8'))
log.flush()