first two unit tests

This commit is contained in:
2021-11-22 19:52:36 +01:00
parent 33e1fca03f
commit 525d56ef63
2 changed files with 38 additions and 3 deletions

View File

@ -11,6 +11,9 @@ from bs4.element import ResultSet, Tag
# the end dates of the reporting periods as strings (either years or quarters).
ResultDict = dict[str, Union[tuple[int], tuple[str]]]
DOMAIN = 'www.marketwatch.com'
HTML_PARSER = 'html.parser'
async def soup_from_url(url: str, session: ClientSession = None) -> BeautifulSoup:
"""