mirror of
https://github.com/kennethreitz/requests-html.git
synced 2026-06-05 23:00:20 +00:00
@@ -69,6 +69,12 @@ def test_html_loading():
|
||||
assert isinstance(html.html, str)
|
||||
|
||||
|
||||
def test_links():
|
||||
assert not("#test".startswith('#') and True) is False
|
||||
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