def test_delete(self): ''' Test if it delete a devices to a BTRFS filesystem. ''' with patch('salt.modules.btrfs._restripe', MagicMock(return_value={})): self.assertDictEqual( btrfs.delete('/mountpoint', '/dev/sda1', '/dev/sda2'), {})
def test_delete(self): """ Test if it delete a devices to a BTRFS filesystem. """ with patch("salt.modules.btrfs._restripe", MagicMock(return_value={})): self.assertDictEqual( btrfs.delete("/mountpoint", "/dev/sda1", "/dev/sda2"), {})
def test_delete(self): ''' Test if it delete a devices to a BTRFS filesystem. ''' self.assertDictEqual(btrfs.delete('/mountpoint', '/dev/sda1', '/dev/sda2'), {})
def test_delete(self): ''' Test if it delete a devices to a BTRFS filesystem. ''' self.assertDictEqual( btrfs.delete('/mountpoint', '/dev/sda1', '/dev/sda2'), {})