Commit d147f1af authored by Paul Rich's avatar Paul Rich
Browse files

Updating nodelist client tests for Cray work.

parent a2b09cee
......@@ -9,11 +9,11 @@ test_argslist - is a list of dictionaries, each dictionary has all the necessary
"""
test_argslist = [
{ "tc_name" : "arg_1", "args" : "", },
{ "tc_name" : "arg_2", "args" : """arg1""", },
{ "tc_name" : "debug", "args" : """-d""", },
{ "tc_name" : "options_1", "args" : """-l""",},
{ "tc_name" : "options_2", "args" : """--help""",},
{ "tc_name" : "options_3", "args" : """-h""",},
{ "tc_name" : "options_4", "args" : """--version""",},
{ "tc_name" : "arg_1", "args" : "", "new_only": True},
{ "tc_name" : "arg_2", "args" : """arg1""", "new_only": True},
{ "tc_name" : "debug", "args" : """-d""", "new_only": True},
{ "tc_name" : "options_1", "args" : """-l""", "new_only": True},
{ "tc_name" : "options_2", "args" : """--help""", "new_only": True},
{ "tc_name" : "options_3", "args" : """-h""", "new_only": True},
{ "tc_name" : "options_4", "args" : """--version""", "new_only": True},
]
......@@ -86,9 +86,7 @@ U2 QU2 two -
U3 QU3 three -
"""
cmderr = \
"""No arguments needed
"""
cmderr = ''
stubout = \
"""
......@@ -282,10 +280,11 @@ def test_nodelist_options_2():
"""Usage: nodelist.py
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-d, --debug turn on communication debugging
--noheader disable display of header information
--version show program's version number and exit
-h, --help show this help message and exit
-d, --debug turn on communication debugging
-b, --list_details list detalied information for specified nodes
--noheader disable display of header information
"""
cmderr = ''
......@@ -325,10 +324,11 @@ def test_nodelist_options_3():
"""Usage: nodelist.py
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-d, --debug turn on communication debugging
--noheader disable display of header information
--version show program's version number and exit
-h, --help show this help message and exit
-d, --debug turn on communication debugging
-b, --list_details list detalied information for specified nodes
--noheader disable display of header information
"""
cmderr = ''
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment