X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vvp%2Fvalidation-scripts.git;a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_neutron_port_fixed_ips.py;h=6e2d562ff1cfe3bd8215d0de2c347a9912da065b;hp=474c54506e5dbd86ebb972b54a112c23e4bfe58f;hb=10535815da964c683e5f91030934652bfb3f53b8;hpb=912ea4cdf9721f66339c47bbfdcf4315ca7bd424 diff --git a/ice_validator/tests/test_neutron_port_fixed_ips.py b/ice_validator/tests/test_neutron_port_fixed_ips.py index 474c545..6e2d562 100644 --- a/ice_validator/tests/test_neutron_port_fixed_ips.py +++ b/ice_validator/tests/test_neutron_port_fixed_ips.py @@ -270,18 +270,18 @@ def get_base_template(heat_template): @validates("R-38236") -def test_neutron_port_fixed_ips(heat_template): +def test_neutron_port_fixed_ips(yaml_file): """ The VNF's Heat Orchestration Template's resource ``OS::Neutron::Port`` property ``fixed_ips`` map property ``subnet``/``subnet_id`` parameter **MUST** be declared type ``string``. """ - run_test(heat_template, validate_fixed_ip) + run_test(yaml_file, validate_fixed_ip) @validates("R-62802", "R-15287") -def test_neutron_port_external_fixed_ips(heat_template): +def test_neutron_port_external_fixed_ips(yaml_file): """ When the VNF's Heat Orchestration Template's resource ``OS::Neutron::Port`` is attaching @@ -296,11 +296,11 @@ def test_neutron_port_external_fixed_ips(heat_template): and the external network IPv6 subnet is to be specified * ``{network-role}_v6_subnet_id`` """ - run_test(heat_template, validate_external_fixed_ip) + run_test(yaml_file, validate_external_fixed_ip) @validates("R-84123", "R-76160") -def test_neutron_port_internal_fixed_ips(heat_template): +def test_neutron_port_internal_fixed_ips(yaml_file): """ When @@ -319,4 +319,4 @@ def test_neutron_port_internal_fixed_ips(heat_template): * ``int_{network-role}_v6_subnet_id`` """ - run_test(heat_template, validate_internal_fixed_ip) + run_test(yaml_file, validate_internal_fixed_ip)