mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-12-19 13:08:54 +01:00
test(data-extraction): Introduct load.py test and scrape test
This commit is contained in:
@@ -81,3 +81,8 @@ def test_wait_for_download_condition() -> None:
|
||||
with TemporaryDirectory(dir="./") as temp_dir:
|
||||
prepare_temporary_dir(temp_dir, ["xml", "txt"])
|
||||
assert extract.wait_for_download_condition(temp_dir, 2) is False
|
||||
|
||||
|
||||
def test_scrape() -> None:
|
||||
with TemporaryDirectory(dir="./") as temp_dir:
|
||||
extract.scrape("GEA Farm Technologies GmbH", [temp_dir])
|
||||
|
||||
Reference in New Issue
Block a user