Merge "Added missing dot"

This commit is contained in:
Jenkins 2016-03-17 09:42:17 +00:00 committed by Gerrit Code Review
commit 6d02b79b1d
3 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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()

View File

@ -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):