Ejemplo n.º 1
0
 def test_fs_delete(self):
     '''
     Test for deletion of a filesystem
     '''
     with patch.object(purefb, 'fs_delete', return_value=True):
         self.assertEqual(purefb.fs_delete('test'), True)
Ejemplo n.º 2
0
def test_fs_delete():
    """
    Test for deletion of a filesystem
    """
    with patch.object(purefb, "fs_delete", return_value=True):
        assert purefb.fs_delete("test") is True
Ejemplo n.º 3
0
 def test_fs_delete(self):
     """
     Test for deletion of a filesystem
     """
     with patch.object(purefb, "fs_delete", return_value=True):
         self.assertEqual(purefb.fs_delete("test"), True)