X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_contrail_irt_routes.py;h=29d1af2072026990b387c6663860afdb57f6340e;hb=refs%2Fchanges%2F45%2F77845%2F2;hp=e5a95dd8efc447954427c1612396b676a239830d;hpb=912ea4cdf9721f66339c47bbfdcf4315ca7bd424;p=vvp%2Fvalidation-scripts.git diff --git a/ice_validator/tests/test_contrail_irt_routes.py b/ice_validator/tests/test_contrail_irt_routes.py index e5a95dd..29d1af2 100644 --- a/ice_validator/tests/test_contrail_irt_routes.py +++ b/ice_validator/tests/test_contrail_irt_routes.py @@ -146,7 +146,7 @@ def validate_irt_route_param_type(heat, routes_route): @validates("R-28222") -def test_contrail_irt_route_param_format(heat_template): +def test_contrail_irt_route_param_format(yaml_file): """ If a VNF's Heat Orchestration Template ``OS::ContrailV2::InterfaceRouteTable`` resource @@ -154,13 +154,13 @@ def test_contrail_irt_route_param_format(heat_template): ``interface_route_table_routes_route`` map property parameter name **MUST** follow the format """ - run_test(heat_template, validate_irt_route_param_format) + run_test(yaml_file, validate_irt_route_param_format) @validates("R-19756") -def test_contrail_irt_route_param_type(heat_template): +def test_contrail_irt_route_param_type(yaml_file): """ * ``{vm-type}_{network-role}_route_prefixes`` **MUST** be defined as type ``json``. """ - run_test(heat_template, validate_irt_route_param_type) + run_test(yaml_file, validate_irt_route_param_type)