#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# super ( TestDoCopyimage , self ) . __init__ ( * args , ** kwargs ) #NEWLINE# self . mock_data = mock . MagicMock ( ) #NEWLINE# self . driver = rsync . Rsync ( self . mock_data ) #NEWLINE# self . mock_mount = self . driver . _mount_target = mock . MagicMock ( ) #NEWLINE# self . mock_umount = self . driver . _umount_target = mock . MagicMock ( ) #NEWLINE# self . mock_grub = self . mock_data . grub