Browse Source

Fix: Failing two unit tests due to heat-translator

The existing two unit tests are failing due to the changes
merged [1] in heat-translator 2.0.0 version.

Failing two unit tests:-
tacker.tests.unit.vnfm.infra_drivers.openstack.test_openstack.TestOpenStack
1) test_create_tosca_alarm_scale
2) test_create_tosca_scale

[1]: https://review.opendev.org/#/c/696446/9/translator/hot/syntax/hot_resource.py

Change-Id: Ib6457fd4c407413bea4d7d1986c54037f46fec0d
Closes-Bug: #1870469
tags/3.0.0.0rc1
tpatil 3 months ago
parent
commit
6bf9c073ac
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      lower-constraints.txt
  2. +1
    -1
      requirements.txt
  3. +1
    -1
      tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_alarm_scale_custom.yaml
  4. +1
    -1
      tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_custom.yaml

+ 1
- 1
lower-constraints.txt View File

@@ -37,7 +37,7 @@ glance-store==0.26.1
google-auth==1.4.1
greenlet==0.4.13
hacking==0.12.0
heat-translator==1.3.1
heat-translator==2.0.0
idna==2.6
imagesize==1.0.0
ipaddress==1.0.19


+ 1
- 1
requirements.txt View File

@@ -40,7 +40,7 @@ openstackdocstheme>=1.20.0 # Apache-2.0
python-neutronclient>=6.7.0 # Apache-2.0
python-novaclient>=9.1.0 # Apache-2.0
tosca-parser>=1.6.0 # Apache-2.0
heat-translator>=1.3.1 # Apache-2.0
heat-translator>=2.0.0 # Apache-2.0
cryptography>=2.1 # BSD/Apache-2.0
paramiko>=2.0.0 # LGPLv2.1+
pyroute2>=0.4.21;sys_platform!='win32' # Apache-2.0 (+ dual licensed GPL2)


+ 1
- 1
tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_alarm_scale_custom.yaml View File

@@ -23,4 +23,4 @@ resources:
network: net_mgmt
port_security_enabled: false
heat_template_version: 2013-05-23
description: Tacker Scaling template
description: Scaling template

+ 1
- 1
tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_custom.yaml View File

@@ -22,4 +22,4 @@ resources:
network: net_mgmt
port_security_enabled: false
heat_template_version: 2013-05-23
description: Tacker Scaling template
description: Scaling template

Loading…
Cancel
Save