diff --git a/testenv/README b/testenv/README index 86c0d749..656e732a 100644 --- a/testenv/README +++ b/testenv/README @@ -43,7 +43,8 @@ Working: ================================================================================ The Test Files are valid Python scripts and the default mask for them is 755. -A singular Test must be invoked in the following manner: +A singular Test must be invoked in the following manner, with the current +directory being the testenv directory: $ ./python3 OR $ ./ The script will then initialize the various elements and pass them to an object @@ -137,7 +138,8 @@ Various variables used consistently across all tests are: * WGET_URLS: This is a list of filenames which will be appended as the URLs to Wget during invocation. This is a list of lists, where WGET_URLS[0] represents the list of Filenames called from Server[0], WGET_URLS[1] is a - list of files downloaded from Server[2], etc. + list of files downloaded from Server[2], etc. They must be relative URLs, + i.e., not start with "/". * Files: This variable defines the files that exist in the Server's filesystem. The Files variable is a list of lists of WgetFile objects. This means that File[0] is a list of WgetFile objects that lie on Server[0], diff --git a/testenv/Test-Proto.py b/testenv/Test-Proto.py index 6dcbfb69..12f424f2 100755 --- a/testenv/Test-Proto.py +++ b/testenv/Test-Proto.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 from sys import exit from test.http_test import HTTPTest -from misc.constants import HTTP, HTTPS +from test.base_test import HTTP, HTTPS from misc.wget_file import WgetFile """