[VVP] Adding env file checks for contrail 90/87690/2
authorLovett, Trevor <trevor.lovett@att.com>
Tue, 14 May 2019 15:37:17 +0000 (10:37 -0500)
committerLovett, Trevor <trevor.lovett@att.com>
Tue, 14 May 2019 16:53:41 +0000 (11:53 -0500)
commit9ccbfe7e20b3914c37c0dec50762cec9da8a63c6
treec8164726199ec286f7619fc23f4986311022dbe9
parent503041fb7ec395fe57e418d584c4a5d06f4c9877
[VVP] Adding env file checks for contrail

* Introduced helper method get_param to handle extracting param
  names from both get_params with string and list arguments
* Moved test files for environment tests to independent directories
  to make it easier to isolate unit tests
* Added contrail tests related to env file usage related to VNFRQTS-630

Change-Id: I3b44f0ce2d5657e9ab5290cd77f1422b36052b6a
Issue-ID: VVP-213
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
17 files changed:
ice_validator/tests/fixtures/test_environment_file_parameters/fail/contrail_instance_ip/contrail_instance_ip_fail.env [new file with mode: 0644]
ice_validator/tests/fixtures/test_environment_file_parameters/fail/contrail_instance_ip/contrail_instance_ip_fail.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_environment_file_parameters/fail/general/STARKDB-nested.yaml [moved from ice_validator/tests/fixtures/test_environment_file_parameters/fail/STARKDB-nested.yaml with 90% similarity]
ice_validator/tests/fixtures/test_environment_file_parameters/fail/general/fail.env [moved from ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.env with 96% similarity]
ice_validator/tests/fixtures/test_environment_file_parameters/fail/general/fail.yaml [moved from ice_validator/tests/fixtures/test_environment_file_parameters/fail/fail.yaml with 94% similarity]
ice_validator/tests/fixtures/test_environment_file_parameters/fail/vmi_aap/vmi_aap_fail.env [new file with mode: 0644]
ice_validator/tests/fixtures/test_environment_file_parameters/fail/vmi_aap/vmi_aap_fail.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_environment_file_parameters/pass/contrail_instance_ip/contrail_instance_ip_pass.env [new file with mode: 0644]
ice_validator/tests/fixtures/test_environment_file_parameters/pass/contrail_instance_ip/contrail_instance_ip_pass.yaml [new file with mode: 0644]
ice_validator/tests/fixtures/test_environment_file_parameters/pass/general/STARKDB-nested.yaml [moved from ice_validator/tests/fixtures/test_environment_file_parameters/pass/STARKDB-nested.yaml with 100% similarity]
ice_validator/tests/fixtures/test_environment_file_parameters/pass/general/pass.env [moved from ice_validator/tests/fixtures/test_environment_file_parameters/pass/pass.env with 100% similarity]
ice_validator/tests/fixtures/test_environment_file_parameters/pass/general/pass.yaml [moved from ice_validator/tests/fixtures/test_environment_file_parameters/pass/pass.yaml with 100% similarity]
ice_validator/tests/fixtures/test_environment_file_parameters/pass/vmi_aap/vmi_aap_pass.env [new file with mode: 0644]
ice_validator/tests/fixtures/test_environment_file_parameters/pass/vmi_aap/vmi_aap_pass.yaml [new file with mode: 0644]
ice_validator/tests/helpers.py
ice_validator/tests/test_environment_file_parameters.py
ice_validator/tests/test_neutron_port_network_attachment.py