Improved Apprise encoding and text format support (#566)

This commit is contained in:
Chris Caron
2022-04-16 15:33:49 -04:00
committed by GitHub
parent 5d14259227
commit a05b042c6d
8 changed files with 595 additions and 69 deletions

View File

@ -40,7 +40,7 @@ def test_html_to_text():
"""
A function to simply html conversion tests
"""
return convert_between(NotifyFormat.HTML, NotifyFormat.TEXT, body)
return convert_between(NotifyFormat.HTML, NotifyFormat.TEXT, body)[1]
assert to_html("No HTML code here.") == "No HTML code here."