From 2b827ccde28ec9b43f54d6adb25374e4e755d3df Mon Sep 17 00:00:00 2001 From: Reid Hewitt Date: Mon, 18 Dec 2023 11:42:10 -0700 Subject: [PATCH] include waf download in test. --- tests/extract/test_waf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/extract/test_waf.py b/tests/extract/test_waf.py index a6bacdc0..55966642 100644 --- a/tests/extract/test_waf.py +++ b/tests/extract/test_waf.py @@ -1,6 +1,9 @@ -from harvester.extract.waf import traverse_waf +from harvester.extract.waf import traverse_waf, download_waf def test_traverse_waf(get_waf_url): files = traverse_waf(get_waf_url, filters=["../", "dcatus/"]) assert len(files) == 7 + + downloaded_files = download_waf(files) + assert len(downloaded_files) == 7