diff options
author | rabi <ramishra@redhat.com> | 2021-12-16 09:39:20 +0530 |
---|---|---|
committer | Brendan Shephard <bshephar@redhat.com> | 2021-12-16 05:51:28 +0000 |
commit | 4d9fbf2a34c7ce38c74108e8f7df6355acc01a24 (patch) | |
tree | 09d466c971eb3b78128c9e7539fde6fe324ea095 | |
parent | 00401a598fefb0d05d484529091babbd1c8c6d0a (diff) | |
download | python-heatclient-4d9fbf2a34c7ce38c74108e8f7df6355acc01a24.tar.gz |
Fix test and lower constraints
This fixes failures for PyYAML new version and
lower constraints.
Change-Id: Iba863242365c4be63495600b741513c2ca0ea9b0
(cherry picked from commit 4753a47bbf1c31b907b21b3987dc4cc1b130990d)
-rw-r--r-- | heatclient/tests/functional/osc/v1/test_readonly.py | 2 | ||||
-rw-r--r-- | lower-constraints.txt | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/heatclient/tests/functional/osc/v1/test_readonly.py b/heatclient/tests/functional/osc/v1/test_readonly.py index 0c88a29..88cf178 100644 --- a/heatclient/tests/functional/osc/v1/test_readonly.py +++ b/heatclient/tests/functional/osc/v1/test_readonly.py @@ -91,7 +91,7 @@ class SimpleReadOnlyOpenStackClientTest(base.OpenStackClientTestBase): def test_openstack_resource_type_show(self): rsrc_schema = self.openstack('orchestration resource type show ' 'OS::Heat::RandomString') - self.assertIsInstance(yaml.load(rsrc_schema), dict) + self.assertIsInstance(yaml.safe_load(rsrc_schema), dict) def _template_validate(self, templ_name, parms): heat_template_path = self.get_template_path(templ_name) diff --git a/lower-constraints.txt b/lower-constraints.txt index c6ff3bf..41688ef 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -8,9 +8,9 @@ cmd2==0.8.0 coverage==4.0 cryptography==2.7 debtcollector==1.2.0 -decorator==3.4.0 +decorator==4.3.0 deprecation==1.0 -docutils==0.11 +docutils==0.13.1 dogpile.cache==0.6.2 dulwich==0.15.0 extras==1.0.0 @@ -31,7 +31,7 @@ linecache2==1.0.0 MarkupSafe==1.0 mccabe==0.6.0 monotonic==0.6 -msgpack-python==0.4.0 +msgpack-python==0.5.6 munch==2.1.0 netaddr==0.7.18 netifaces==0.10.4 @@ -69,7 +69,7 @@ python-novaclient==9.1.0 python-openstackclient==3.12.0 python-subunit==1.0.0 python-swiftclient==3.2.0 -pytz==2013.6 +pytz==2018.3 PyYAML==3.13 requests-mock==1.2.0 requests==2.14.2 |