Files
deb-os-brick/os_brick/tests/initiator
Gorka Eguileor 45184cb9b0 Fix the mocking mess
Our tests' mocking is a little messy, we have tests that start a mocking
but don't stop it, others try to stop it but use a mock object instead
of a patcher object, so they don't stop it, and we keep using stopall to
stop the patchings instead of individual stops, and we've seen in Cinder
that this can be problematic.

This patch fixes these issue, most of them just by using base TestCase
mock_object method, and some calling the right stop method (ie:
VolumeEncryptorTestCase).

Change-Id: I545abfa8749e778e923c37e0b908efc578f70619
2016-08-03 18:40:42 +02:00
..
2016-08-03 18:40:42 +02:00
2015-02-05 23:58:37 +00:00
2016-08-03 18:40:42 +02:00
2016-08-03 18:40:42 +02:00
2016-02-19 04:57:12 +00:00