url2markdown/tests/test_download.py

16 lines
335 B
Python

from newspaper import Article
from url2markdown.downloader import downloader
def test_get_content():
article = downloader('https://newspaper.readthedocs.io/en/latest/user_guide/quickstart.html')
assert type(article) == Article
def test_convert_html_to_markdown():
assert False
def test_add_topics():
assert False