diff options
author | 2019-09-05 08:25:32 -0500 | |
---|---|---|
committer | 2019-09-05 08:27:19 -0500 | |
commit | d7f6c7ca8191822cf437997337129d087a6533f6 (patch) | |
tree | dcd64d1942657beed2cde10d80715a2fe7992db3 /ice_validator/app_tests/preload_tests/test_vnfapi.py | |
parent | 083e8d0575d80d5d539a4ef83d8f4800074b7bcd (diff) |
[VVP] Preload Generation Enhancements and Fixes
- All values flow to preload env templates (availability
zones were not)
- defaults.yaml should be in preload_env (includes vnf_name)
- Ensure SDC Model Identifiers are documented in VNF API format
(ex: vnf-type, etc.)
- Ensure CSAR is used in VNF and GR API where appropriate and available
- Flag populated preload templates with _incomplete when they are not
fully resolved
- If a value is still set to CHANGEME in the preload env, then revert
to the original VALUE FOR from the blank preload template
- Ensure app_tests/preload_tests/sample_heat passes all vvp validations
- Added missing depedency (bandit) to requirements.txt
Change-Id: Idf1d5e6e5237debcf3e94bed5fcf7c15e41c9e82
Issue-ID: VVP-283
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/app_tests/preload_tests/test_vnfapi.py')
-rw-r--r-- | ice_validator/app_tests/preload_tests/test_vnfapi.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ice_validator/app_tests/preload_tests/test_vnfapi.py b/ice_validator/app_tests/preload_tests/test_vnfapi.py index 5732335..16a3140 100644 --- a/ice_validator/app_tests/preload_tests/test_vnfapi.py +++ b/ice_validator/app_tests/preload_tests/test_vnfapi.py @@ -82,12 +82,12 @@ def preload(pytestconfig, session_dir): @pytest.fixture(scope="session") def base(preload): - return load_module(preload, "base.json") + return load_module(preload, "base_incomplete.json") @pytest.fixture(scope="session") def incremental(preload): - return load_module(preload, "incremental.json") + return load_module(preload, "incremental_incomplete.json") def test_base_azs(base): @@ -187,7 +187,7 @@ def test_incremental_networks(incremental): def test_preload_env_population(preload): - base_path = THIS_DIR / "sample_env/preloads/vnfapi/base.json" + base_path = THIS_DIR / "sample_env/preloads/vnfapi/base_incomplete.json" data = load_json(base_path) azs = data["input"]["vnf-topology-information"]["vnf-assignments"][ "availability-zones" |