Browse Source

Tests: Fix format arg mismatch

This message specifies an extra %s.

Change-Id: I6138c856bb9d9a30a43dc6eb431e7359dc0da2dd
tags/2.0.0
Eric Harney 2 weeks ago
parent
commit
acf411975d
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      cinderlib/tests/functional/base_tests.py

+ 2
- 3
cinderlib/tests/functional/base_tests.py 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:


Loading…
Cancel
Save