Pushed after editing the commit message. * Dale R. Worley <[email protected]> [160825 02:00]:
This is a few improvements to the documentation about tests. I found these necessary to run the tests correctly.Dale
From 9b6b10b6f714e094df11d8ada96d9e675e6fdee6 Mon Sep 17 00:00:00 2001 From: "Dale R. Worley" <[email protected]> Date: Tue, 23 Aug 2016 17:48:05 -0400 Subject: [PATCH 1/4] Corrections and amplifications to test documentation. [31;01m---[39;49;00m testenv/README | 6 ++++-- testenv/Test-Proto.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) [01mdiff --git a/testenv/README b/testenv/README[39;49;00m [01mindex 86c0d74..656e732 100644[39;49;00m [31;01m--- a/testenv/README[39;49;00m [32m+++ b/testenv/README[39;49;00m [01m[35m@@ -43,7 +43,8 @@ Working:[39;49;00m ================================================================================ The Test Files are valid Python scripts and the default mask for them is 755. [31;01m-A singular Test must be invoked in the following manner:[39;49;00m [32m+A singular Test must be invoked in the following manner, with the current[39;49;00m [32m+directory being the testenv directory:[39;49;00m $ ./python3 <Name of Test File> OR $ ./<Name of Test File> The script will then initialize the various elements and pass them to an object [01m[35m@@ -137,7 +138,8 @@ Various variables used consistently across all tests are:[39;49;00m * 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 [31;01m- list of files downloaded from Server[2], etc.[39;49;00m [32m+ list of files downloaded from Server[2], etc. They must be relative URLs,[39;49;00m [32m+ i.e., not start with "/".[39;49;00m * 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], [01mdiff --git a/testenv/Test-Proto.py b/testenv/Test-Proto.py[39;49;00m [01mindex 6dcbfb6..12f424f 100755[39;49;00m [31;01m--- a/testenv/Test-Proto.py[39;49;00m [32m+++ b/testenv/Test-Proto.py[39;49;00m [01m[35m@@ -1,7 +1,7 @@[39;49;00m #!/usr/bin/env python3 from sys import exit from test.http_test import HTTPTest [31;01m-from misc.constants import HTTP, HTTPS[39;49;00m [32m+from test.base_test import HTTP, HTTPS[39;49;00m from misc.wget_file import WgetFile """ [31;01m-- [39;49;00m 2.10.0.rc0.17.gd63263a
-- Thanking You, Darshit Shah
signature.asc
Description: PGP signature
