def test_snap_eradicate(self): ''' Test for eradication of a deleted filesystem snapshot ''' with patch.object(purefb, 'snap_eradicate', return_value=True): self.assertEqual(purefb.snap_eradicate('test', suffix='suffix'), True)
def test_snap_eradicate(self): """ Test for eradication of a deleted filesystem snapshot """ with patch.object(purefb, "snap_eradicate", return_value=True): self.assertEqual(purefb.snap_eradicate("test", suffix="suffix"), True)