Skip to content

Commit

Permalink
Fix patch management hfsplus mkfs in dependencies test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ravanelli committed Mar 28, 2019
1 parent 987718d commit 19742d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/devices_test/dependencies_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def setUp(self):

self.mdraid_method = availability.BLOCKDEV_MDRAID_PLUGIN._method
self.dm_method = availability.BLOCKDEV_DM_PLUGIN._method
self.hfsplus_mkfs_method = availability.MKFS_HFSPLUS_APP._method
self.cache_availability = availability.CACHE_AVAILABILITY

self.addCleanup(self._clean_up)
Expand Down Expand Up @@ -101,6 +102,7 @@ def test_availability_mdraidplugin(self):
def _clean_up(self):
availability.BLOCKDEV_MDRAID_PLUGIN._method = self.mdraid_method
availability.BLOCKDEV_DM_PLUGIN._method = self.dm_method
availability.MKFS_HFSPLUS_APP._method = self.hfsplus_mkfs_method

availability.CACHE_AVAILABILITY = False
availability.BLOCKDEV_MDRAID_PLUGIN.available # pylint: disable=pointless-statement
Expand Down

0 comments on commit 19742d2

Please sign in to comment.