]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix 'asert' typo in unit test
authorTom Barron <tpb@dyncloud.net>
Fri, 12 Feb 2016 16:48:16 +0000 (11:48 -0500)
committerTom Barron <tpb@dyncloud.net>
Fri, 12 Feb 2016 21:20:13 +0000 (16:20 -0500)
commit9434d70306979b7559e7f1b3c14547a56cbeff1c
tree98e6d6e81db99670a71c5a976e62001733344d29
parentbd70ce6f4dd58ba904a7c941700cdce54e5a705e
Fix 'asert' typo in unit test

The dellscapi unit tests contain two occurences of an
apparent typo, 'mock_get_volume_list.asert_called_once_with'.
Because mock will magically create an 'asert_called_once_with'
method, this typo masks a problem with the test_manage_unmanage
test where the wrong set of arguments is expected.

This commit substitutes 'assert' for 'asert' in these occurences
and fixes up the test_manage_unmanage test.

Change-Id: I0f1b370ef61b28a46ab48d40595c79ec13e359f8
cinder/tests/unit/test_dellscapi.py