#NEWLINE# def test_update_subresource_to_none( self ) : #NEWLINE# #INDENT# instance = self . plugin . return_value #NEWLINE# dummy_id = _uuid ( ) #NEWLINE# body = { #NEWLINE# #INDENT# 'dummy' : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# self . api . put_json ( ( '/networks/id1' + _get_path ( 'dummies' , id = dummy_id ) ) , body ) #NEWLINE# instance . update_network_dummy . assert_called_once_with ( mock . ANY , dummy_id , network_id = 'id1' , dummy = body )