mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 14:50:20 +00:00
add test for fix45
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user