Tests: Fix format arg mismatch

This message specifies an extra %s.

Change-Id: I6138c856bb9d9a30a43dc6eb431e7359dc0da2dd
This commit is contained in:
Eric Harney 2020-07-14 16:21:00 -04:00
parent 4347547a0d
commit acf411975d
1 changed files with 2 additions and 3 deletions

View File

@ -150,9 +150,8 @@ class BaseFunctTestCase(unittest.TestCase):
try:
vol.detach()
except Exception as exc:
errors.append('Error detaching %s for volume %s %s: '
'%s' % (vol.local_attach.path, vol.id,
exc))
errors.append('Error detaching %s for volume %s: %s' %
(vol.local_attach.path, vol.id, exc))
# Disconnect any existing connections
for conn in vol.connections: