Skip to content

Commit

Permalink
include waf download in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
rshewitt committed Dec 18, 2023
1 parent ea67f06 commit 2b827cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/extract/test_waf.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2b827cc

Please sign in to comment.