Corrections and amplifications to test documentation

* testenv/README: Update documentation to meet current project
    status
    * testenv/Test-Proto.py: Same
This commit is contained in:
Dale R. Worley 2016-08-23 17:48:05 -04:00 committed by Darshit Shah
parent 690c47e3b1
commit ca1ee7d32f
2 changed files with 5 additions and 3 deletions

View File

@ -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 <Name of Test File> OR
$ ./<Name of Test File>
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],

View File

@ -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
"""