Merge "Added missing dot"
This commit is contained in:
commit
6d02b79b1d
|
@ -355,7 +355,7 @@ class ResourcePropertyValueDependency(HeatException):
|
|||
|
||||
class PropertyUnspecifiedError(HeatException):
|
||||
msg_fmt = _('At least one of the following properties '
|
||||
'must be specified: %(props)s')
|
||||
'must be specified: %(props)s.')
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
if args:
|
||||
|
|
|
@ -689,7 +689,7 @@ class NeutronRouterTest(common.HeatTestCase):
|
|||
ex = self.assertRaises(exception.PropertyUnspecifiedError,
|
||||
res.validate)
|
||||
self.assertEqual("At least one of the following properties "
|
||||
"must be specified: subnet, port",
|
||||
"must be specified: subnet, port.",
|
||||
six.text_type(ex))
|
||||
self.m.VerifyAll()
|
||||
|
||||
|
|
|
@ -677,7 +677,7 @@ class NeutronSubnetTest(common.HeatTestCase):
|
|||
ex = self.assertRaises(exception.PropertyUnspecifiedError,
|
||||
rsrc.validate)
|
||||
msg = ("At least one of the following properties must be specified: "
|
||||
"subnetpool, cidr")
|
||||
"subnetpool, cidr.")
|
||||
self.assertEqual(msg, six.text_type(ex))
|
||||
|
||||
def test_validate_both_prefixlen_cidr(self):
|
||||
|
|
Loading…
Reference in New Issue