diff options
author | 2019-02-04 16:20:15 -0800 | |
---|---|---|
committer | 2019-02-04 16:37:13 -0800 | |
commit | 10535815da964c683e5f91030934652bfb3f53b8 (patch) | |
tree | 129390448c758b104b677a4c89e2aac89ecdfd73 /ice_validator/tests/test_neutron_port_addresses.py | |
parent | 912ea4cdf9721f66339c47bbfdcf4315ca7bd424 (diff) |
[VVP] enhance tests for nested templates
Change-Id: I17047fa3df555fafcdae566fad50b8c19ddca16f
Issue-ID: VVP-158
Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'ice_validator/tests/test_neutron_port_addresses.py')
-rw-r--r-- | ice_validator/tests/test_neutron_port_addresses.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ice_validator/tests/test_neutron_port_addresses.py b/ice_validator/tests/test_neutron_port_addresses.py index 95b8ddc..05b0223 100644 --- a/ice_validator/tests/test_neutron_port_addresses.py +++ b/ice_validator/tests/test_neutron_port_addresses.py @@ -197,23 +197,23 @@ def validate_external_ipaddress_v6(heat, allowed_address_pairs): @validates("R-91810") -def test_neutron_port_external_ipaddress(heat_template): +def test_neutron_port_external_ipaddress(yaml_file): """ If a VNF requires ONAP to assign a Virtual IP (VIP) Address to ports connected an external network, the port **MUST NOT** have more than one IPv4 VIP address. """ - run_test(heat_template, validate_external_ipaddress) + run_test(yaml_file, validate_external_ipaddress) @validates("R-41956") -def test_neutron_port_external_ipaddress_v6(heat_template): +def test_neutron_port_external_ipaddress_v6(yaml_file): """ If a VNF requires ONAP to assign a Virtual IP (VIP) Address to ports connected an external network, the port **MUST NOT** have more than one IPv6 VIP address. """ - run_test(heat_template, validate_external_ipaddress_v6) + run_test(yaml_file, validate_external_ipaddress_v6) @validates("R-10754") |