Skip to content

Commit

Permalink
Remove extra test variable assignment
Browse files Browse the repository at this point in the history
Expected assertion value is assigned and then immediately
overwritten. Removes unused variable assignment.

TrivialFix

Change-Id: I8603a2d63e57354aa0d153ddfb4e9b4172ff803d
  • Loading branch information
stmcginnis committed Nov 30, 2017
1 parent 9ae14ed commit ea1d19f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cinder/tests/unit/volume/test_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -2837,7 +2837,6 @@ def test__append_volume_stats_with_pools(self):
{'pool_name': 'pool2', 'provisioned_capacity_gb': 21}]}
manager._append_volume_stats(vol_stats)

expected = {'provisioned_capacity_gb': 30, 'allocated_capacity_gb': 20}
expected = {'vendor_name': 'Open Source', 'pools': [
{'pool_name': 'pool1', 'provisioned_capacity_gb': 31,
'allocated_capacity_gb': 20},
Expand Down

0 comments on commit ea1d19f

Please sign in to comment.