reading test html file in test class set up method

This commit is contained in:
2021-11-23 19:57:37 +01:00
parent 6ac38ad06d
commit d504ddfc33
2 changed files with 16 additions and 6 deletions

View File

@ -11,6 +11,8 @@ 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]]]
HTML_PARSER = 'html.parser'
async def soup_from_url(url: str, session: ClientSession = None) -> BeautifulSoup:
"""