replace 'data=' with 'message='

Replace keyword 'data=' with 'message='

Change-Id: Ic4b0ba3136f27722511cc49bca21568f7b518618
This commit is contained in:
wangqi 2018-08-07 11:51:45 +00:00
parent 97daab4b3d
commit f2980ff862
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ class TestRetryDecorator(test.TestCase):
def fails_once():
self.counter += 1
if self.counter < 2:
raise exception.ManilaException(data='fake')
raise exception.ManilaException(message='fake')
else:
return 'success'