Improve storage backend clean up after running the unit and integration tests.
Created by: smarnach
This change introduces deprovision_*()
methods for deprovisioning storage backends, and calls these functions in the tearDown()
methods for applicable unit and integration tests.
The unit tests already did a clean-up, but not in tearDown()
, so they would leak the databases if they errored out earlier.
This is implemented on top of #54. Only the last two commits need to be reviewed here.