add test for fix45

This commit is contained in:
qiyuan
2018-02-28 12:15:06 +08:00
parent 4e87dc2c2d
commit d83ef1a697
+8 -1
View File
@@ -69,6 +69,13 @@ def test_html_loading():
assert isinstance(html.html, str)
def test_links():
assert not("#test".startswith('#') and True) is True
assert not("test".startswith('#') and True) is True
assert not("#test".startswith('#') and False) is True
assert not("test".startswith('#') and False) is True
if __name__ == '__main__':
test_html_loading()