diff options
Diffstat (limited to 'testenv/conf/files_crawled.py')
-rw-r--r-- | testenv/conf/files_crawled.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testenv/conf/files_crawled.py b/testenv/conf/files_crawled.py index 3f52008d..334e5964 100644 --- a/testenv/conf/files_crawled.py +++ b/testenv/conf/files_crawled.py @@ -2,6 +2,15 @@ from misc.colour_terminal import print_red from conf import hook from exc.test_failed import TestFailed +""" Post-Test Hook: FilesCrawled +This is a post test hook that is invoked in tests that check wget's behaviour +in recursive mode. It expects an ordered list of the request lines that Wget +must send to the server. If the requests received by the server do not match +the provided list, IN THE GIVEN ORDER, then it raises a TestFailed exception. +Such a test can be used to check the implementation of the recursion algorithm +in Wget too. +""" + @hook() class FilesCrawled: |