X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_nova_servers_resource_ids.py;h=d8df655b8d2555da6a793a51b6be017a508f46db;hb=0c4e64d87728b89aa9cd4d41d738f5bfe64ceee3;hp=9747e29ec6ef38d52e569833aba937b680a2b08a;hpb=1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1;p=vvp%2Fvalidation-scripts.git diff --git a/ice_validator/tests/test_nova_servers_resource_ids.py b/ice_validator/tests/test_nova_servers_resource_ids.py index 9747e29..d8df655 100644 --- a/ice_validator/tests/test_nova_servers_resource_ids.py +++ b/ice_validator/tests/test_nova_servers_resource_ids.py @@ -35,12 +35,9 @@ # # ============LICENSE_END============================================ # -# ECOMP is a trademark and service mark of AT&T Intellectual Property. # - import pytest from tests import cached_yaml as yaml - from .helpers import validates from .utils.vm_types import get_vm_type_for_nova_server @@ -102,9 +99,9 @@ def test_nova_servers_valid_resource_ids(yaml_file): ) assert not invalid_nova_servers, ( - "Invalid OS::Nova::Server resource ids detected {}\n" + "Invalid OS::Nova::Server resource ids detected {}. " "OS::Nova::Server resource ids must be in the form " - "_server_ \n" - " is derived from flavor, image and name properties " + "{{vm_type}}_server_{{vm_type_index}} where " + "{{vm_type}} is derived from flavor, image and name properties." "".format(invalid_nova_servers) )