mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7355 - test_netscaler_configs.py uses hardcoded NetScaler credentials
Refactored code to use test_data instead of hardcoded NetScaler credentials Refactored code to remove large scale duplication Fixed some minor logic error in the existing tests This patch has not added or removed any of the original test-cases. Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
f92fa4257a
commit
3609f60447
File diff suppressed because it is too large
Load Diff
|
|
@ -304,9 +304,13 @@ test_data = {
|
|||
"lbdevicecapacity": 2,
|
||||
"port": 22
|
||||
},
|
||||
"network_without_acl": {
|
||||
"name": "TestNetwork",
|
||||
"displaytext": "TestNetwork",
|
||||
"netscaler_network": {
|
||||
"name": "Netscaler",
|
||||
"displaytext": "Netscaler",
|
||||
},
|
||||
"network_without_acl": {
|
||||
"name": "TestNetwork",
|
||||
"displaytext": "TestNetwork",
|
||||
},
|
||||
"virtual_machine": {
|
||||
"displayname": "Test VM",
|
||||
|
|
|
|||
Loading…
Reference in New Issue