]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Minor cleanups in test_volume
authorEric Harney <eharney@redhat.com>
Mon, 14 Apr 2014 18:27:06 +0000 (14:27 -0400)
committerEric Harney <eharney@redhat.com>
Mon, 23 Jun 2014 15:34:57 +0000 (11:34 -0400)
commit04f0b99ca017dea17fb362ef36e4dd8c524c718e
tree0e5022430020bad353e4c5d77389d98ca0289280
parent511fca5568cc92bb63b78cb7c2bed48b53388bfb
Minor cleanups in test_volume

Fix incorrect parameter order for mock decorators.  This
just happened to work because they were used in the same way
in test_reserve_volume_success().

Remove incorrect comments.  These seem to mix up 'error' versus
'error_deleting' for expected states -- but the assertEqual args
are sufficiently explanatory by themselves.

Change-Id: I763265b8365d3b2fcece94b14639a1bed7b6a848
cinder/tests/test_volume.py