#NEWLINE# @ mock . patch ( 'runabove.storage.ContainerManager.set_public' ) #NEWLINE# def test_set_private( self , mock_set_public ) : #NEWLINE# #INDENT# self . containers . set_private ( self . region , mock_set_public . name ) #NEWLINE# mock_set_public . assert_called_once_with ( self . region , self . name , public = False )