示例#1
0
 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)
示例#2
0
 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)