Fix cinder testcase error and flake8 issue

Fix these 2 issues:
1) Test fail error.
2) Flake8 issue

Change-Id: I72c116d1d7295672f1de5f39151424ed8b2a590f
Closes-Bug: #1347460