more tests 70% coverage now!

This commit is contained in:
Chris Caron
2017-12-13 21:35:59 -05:00
parent 5a7a8a624a
commit f8c3d35f8c
11 changed files with 587 additions and 103 deletions

View File

@ -111,6 +111,12 @@ def test_notify_base():
# Test is_hostname
assert NotifyBase.is_hostname('example.com') is True
# Test quote
assert NotifyBase.unquote('%20') == ' '
assert NotifyBase.quote(' ') == '%20'
assert NotifyBase.unquote(None) == ''
assert NotifyBase.quote(None) == ''
def test_notify_base_urls():
"""