summaryrefslogtreecommitdiff
path: root/heatclient/tests/functional
diff options
context:
space:
mode:
authorBryan Jones <jonesbr@us.ibm.com>2016-03-30 21:15:18 +0000
committerBryan Jones <jonesbr@us.ibm.com>2016-03-31 13:28:39 +0000
commitab4ac5dbc1b2a1c59f5e6efdc1580b2c2df52f11 (patch)
tree00db4c91543115678e806c3a1570b8b6dc95180a /heatclient/tests/functional
parent349a2c85b17be5d8f438e1b511dcbeb69f0fb7f1 (diff)
downloadpython-heatclient-ab4ac5dbc1b2a1c59f5e6efdc1580b2c2df52f11.tar.gz
Replace assertRegexpMatches with assertRegex
The assertRegexpMatches function is deprecated and showing deprecation warnings, which is clogging the logs for test jobs. This patch replaces all occurances with assertRegex, the preferred method. Change-Id: Id538fb7d34269036a32758b768735fbb88137ca1
Diffstat (limited to 'heatclient/tests/functional')
-rw-r--r--heatclient/tests/functional/osc/v1/test_readonly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/tests/functional/osc/v1/test_readonly.py b/heatclient/tests/functional/osc/v1/test_readonly.py
index 988823e..d8ed784 100644
--- a/heatclient/tests/functional/osc/v1/test_readonly.py
+++ b/heatclient/tests/functional/osc/v1/test_readonly.py
@@ -100,7 +100,7 @@ class SimpleReadOnlyOpenStackClientTest(base.ClientTestBase):
for parm in parms:
cmd += ' --parameter ' + parm
ret = self.openstack(cmd)
- self.assertRegexpMatches(ret, r'stack_name.*|.*test_stack')
+ self.assertRegex(ret, r'stack_name.*|.*test_stack')
def test_heat_template_validate_yaml(self):
self._template_validate(