'Coverage test for non-good HTTP response.'

@mock.patch.object(requests, 'request', FakeRequests)
def test_bad_http_response(self):

    RUNTIME_VARS['status'] = 400
    volume = {'name': 'test_volume_01', 'size': 1}
    self.assertRaises(exception.BadHTTPResponseStatus, self.driver.create_volume, volume)
