commit | 9821fde48500e48ea766bb80f2b77e05a9e1a875 | [log] [tgz] |
---|---|---|
author | Dan Prince <dprince@redhat.com> | Fri Nov 30 10:54:12 2012 -0500 |
committer | Dan Prince <dprince@redhat.com> | Sat Dec 01 23:10:24 2012 -0500 |
tree | 426b2672a3f45bc82cb32ce075c663092811f37f | |
parent | 5f2b39f979a7a5183a5964c60110edf9d0a47265 [diff] |
Don't try to cleanup volume that doesn't exist. Updates the test_volume_create_get_delete test so that it no longer tries to cleanup when the volume variable is None. This resolves UnboundLocalError errors which can occur in the test suite when volumes aren't getting created correctly. Change-Id: I483219c4bb78c9dbc21be7a974bd208014ec1740