Compatibility fix with multiple servers

We will not maintian two different interfaces as earlier decided.
Instead, a common, single interface will be maintained. Hence, the tests
must adhere to the same format expected of the Parallel Tests.
This commit is contained in:
Darshit Shah 2013-09-11 03:14:35 +05:30
parent 8b1a9b6de7
commit f5785003b1
19 changed files with 38 additions and 38 deletions

View File

@ -20,9 +20,9 @@ A_File = WgetFile ("HTTP.Teapot", File1)
B_File = WgetFile ("File2", File2, rules=File2_rules)
WGET_OPTIONS = "-d --content-disposition"
WGET_URLS = ["File2"]
WGET_URLS = [["File2"]]
Files = [B_File]
Files = [[B_File]]
Existing_Files = [A_File]
ExpectedReturnCode = 0

View File

@ -25,9 +25,9 @@ File1_rules = {
A_File = WgetFile ("LOTR", File1, rules=File1_rules)
WGET_OPTIONS = "-d --content-disposition"
WGET_URLS = ["LOTR"]
WGET_URLS = [["LOTR"]]
Files = [A_File]
Files = [[A_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [WgetFile ("JRR.Tolkein", File1)]

View File

@ -13,9 +13,9 @@ File1 = "You shall not pass!"
A_File = WgetFile ("File1", File1)
WGET_OPTIONS = "-d --method=HEAD"
WGET_URLS = ["File1"]
WGET_URLS = [["File1"]]
Files = [A_File]
Files = [[A_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = []

View File

@ -13,9 +13,9 @@ File1 = "Test Contents."
A_File = WgetFile ("File1", File1)
WGET_OPTIONS = "-d -O NewFile.txt"
WGET_URLS = ["File1"]
WGET_URLS = [["File1"]]
Files = [A_File]
Files = [[A_File]]
ExistingFiles = [A_File]
ExpectedReturnCode = 0

View File

@ -17,9 +17,9 @@ TestMessage"""
A_File = WgetFile ("File1", File1)
WGET_OPTIONS = "-d --method=post --body-data=TestMessage"
WGET_URLS = ["File1"]
WGET_URLS = [["File1"]]
Files = [A_File]
Files = [[A_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [WgetFile ("File1", File1_response)]

View File

@ -38,9 +38,9 @@ B_File = WgetFile ("File2", File2, rules=File2_rules)
C_File = WgetFile ("File3", File3)
WGET_OPTIONS = "-d --content-disposition --user=Sauron --password=TheEye"
WGET_URLS = ["File1", "File2"]
WGET_URLS = [["File1", "File2"]]
Files = [A_File, B_File]
Files = [[A_File, B_File]]
Existing_Files = [C_File]
ExpectedReturnCode = 0

View File

@ -20,9 +20,9 @@ File1_rules = {
A_File = WgetFile ("File1", File1, rules=File1_rules)
WGET_OPTIONS = "-d --user=Sauron --password=Eye"
WGET_URLS = ["File1"]
WGET_URLS = [["File1"]]
Files = [A_File]
Files = [[A_File]]
ExpectedReturnCode = 6
ExpectedDownloadedFiles = []

View File

@ -28,9 +28,9 @@ A_File = WgetFile ("File1", File1, rules=File1_rules)
B_File = WgetFile ("File2", File2, rules=File2_rules)
WGET_OPTIONS = "-d --user=Sauron --password=TheEye"
WGET_URLS = ["File1", "File2"]
WGET_URLS = [["File1", "File2"]]
Files = [A_File, B_File]
Files = [[A_File, B_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [A_File, B_File]

View File

@ -46,9 +46,9 @@ B_File = WgetFile ("File2", File2, rules=File2_rules)
C_File = WgetFile ("File3", File3, rules=File3_rules)
WGET_OPTIONS = "-d --user=Sauron --password=TheEye"
WGET_URLS = ["File1", "File2", "File3"]
WGET_URLS = [["File1", "File2", "File3"]]
Files = [A_File, B_File, C_File]
Files = [[A_File, B_File, C_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [A_File, B_File, C_File]

View File

@ -19,9 +19,9 @@ File1_rules = {
A_File = WgetFile ("File1", File1, rules=File1_rules)
WGET_OPTIONS = "-d --user=Pacman --password=Omnomnom"
WGET_URLS = ["File1"]
WGET_URLS = [["File1"]]
Files = [A_File]
Files = [[A_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [A_File]

View File

@ -23,9 +23,9 @@ File1_rules = {
A_File = WgetFile ("File1", File1, rules=File1_rules)
WGET_OPTIONS = "-d --auth-no-challenge http://Pacman:Omnomnom@localhost:{{port}}/File1"
WGET_URLS = []
WGET_URLS = [[]]
Files = [A_File]
Files = [[A_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [A_File]

View File

@ -23,9 +23,9 @@ File1_rules = {
A_File = WgetFile ("File1", File1, rules=File1_rules)
WGET_OPTIONS = "-d --auth-no-challenge --user=Pacman --password=Omnomnom"
WGET_URLS = ["File1"]
WGET_URLS = [["File1"]]
Files = [A_File]
Files = [[A_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [A_File]

View File

@ -19,9 +19,9 @@ File1_rules = {
A_File = WgetFile ("File1", File1, rules=File1_rules)
WGET_OPTIONS = "-d"
WGET_URLS = ["File1"]
WGET_URLS = [["File1"]]
Files = [A_File]
Files = [[A_File]]
ExpectedReturnCode = 8
ExpectedDownloadedFiles = []

View File

@ -23,9 +23,9 @@ File1_rules = {
A_File = WgetFile ("File1", File1, rules=File1_rules)
WGET_OPTIONS = "-d --user=Pacman --password=Omnomnom --content-disposition"
WGET_URLS = ["File1"]
WGET_URLS = [["File1"]]
Files = [A_File]
Files = [[A_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [WgetFile ("Arch", File1)]

View File

@ -20,9 +20,9 @@ D_File = WgetFile ("File2", File2)
E_File = WgetFile ("File3", File1)
WGET_OPTIONS = "-d -c"
WGET_URLS = ["File1", "File2", "File3"]
WGET_URLS = [["File1", "File2", "File3"]]
Files = [A_File, C_File, E_File]
Files = [[A_File, C_File, E_File]]
Existing_Files = [B_File, D_File]
ExpectedReturnCode = 0

View File

@ -28,9 +28,9 @@ A_File = WgetFile ("File1", File1, rules=File1_rules)
B_File = WgetFile ("File2", File2, rules=File2_rules)
WGET_OPTIONS = "-d"
WGET_URLS = ["File1", "File2"]
WGET_URLS = [["File1", "File2"]]
Files = [A_File, B_File]
Files = [[A_File, B_File]]
ExpectedReturnCode = 6
ExpectedDownloadedFiles = [B_File]

View File

@ -26,9 +26,9 @@ A_File = WgetFile ("File1", File1, rules=File1_rules)
B_File = WgetFile ("File2", File2, rules=File2_rules)
WGET_OPTIONS = "-d"
WGET_URLS = ["File1", "File2"]
WGET_URLS = [["File1", "File2"]]
Files = [A_File, B_File]
Files = [[A_File, B_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [A_File, B_File]

View File

@ -49,9 +49,9 @@ C_File = WgetFile ("File3", File3, rules=File3_rules)
D_File = WgetFile ("File4", File4, rules=File4_rules)
WGET_OPTIONS = "-d"
WGET_URLS = ["File1", "File2", "File3", "File4"]
WGET_URLS = [["File1", "File2", "File3", "File4"]]
Files = [A_File, B_File, C_File, D_File]
Files = [[A_File, B_File, C_File, D_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [A_File, B_File, C_File, D_File]

View File

@ -26,9 +26,9 @@ A_File = WgetFile ("File1", File1, rules=File1_rules)
B_File = WgetFile ("File2", File2, rules=File2_rules)
WGET_OPTIONS = "-d"
WGET_URLS = ["File1", "File2"]
WGET_URLS = [["File1", "File2"]]
Files = [A_File, B_File]
Files = [[A_File, B_File]]
ExpectedReturnCode = 0
ExpectedDownloadedFiles = [A_File, B_File]