Added missing dot

Change-Id: I57b81a66f722540ba8b874c86012f3cfa5131e98
This commit is contained in:
Dmitriy Uvarenkov 2016-03-16 18:35:49 +02:00
parent c9a42b94ff
commit e0335496f2
3 changed files with 3 additions and 3 deletions

View File

@ -355,7 +355,7 @@ class ResourcePropertyValueDependency(HeatException):
class PropertyUnspecifiedError(HeatException): class PropertyUnspecifiedError(HeatException):
msg_fmt = _('At least one of the following properties ' msg_fmt = _('At least one of the following properties '
'must be specified: %(props)s') 'must be specified: %(props)s.')
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
if args: if args:

View File

@ -689,7 +689,7 @@ class NeutronRouterTest(common.HeatTestCase):
ex = self.assertRaises(exception.PropertyUnspecifiedError, ex = self.assertRaises(exception.PropertyUnspecifiedError,
res.validate) res.validate)
self.assertEqual("At least one of the following properties " self.assertEqual("At least one of the following properties "
"must be specified: subnet, port", "must be specified: subnet, port.",
six.text_type(ex)) six.text_type(ex))
self.m.VerifyAll() self.m.VerifyAll()

View File

@ -677,7 +677,7 @@ class NeutronSubnetTest(common.HeatTestCase):
ex = self.assertRaises(exception.PropertyUnspecifiedError, ex = self.assertRaises(exception.PropertyUnspecifiedError,
rsrc.validate) rsrc.validate)
msg = ("At least one of the following properties must be specified: " msg = ("At least one of the following properties must be specified: "
"subnetpool, cidr") "subnetpool, cidr.")
self.assertEqual(msg, six.text_type(ex)) self.assertEqual(msg, six.text_type(ex))
def test_validate_both_prefixlen_cidr(self): def test_validate_both_prefixlen_cidr(self):