#NEWLINE# def test_strategy_deserialize_instance_method_return_errors_if_vcpu_quota_exceeded( self ) : #NEWLINE# #INDENT# self . instance . cloud_project_membership . set_quota_limit ( 'vcpu' , self . instance . cloud_project_membership . quotas . get ( name = 'vcpu' ) . usage ) #NEWLINE# ( _ , _ , _ , errors ) = InstanceBackupStrategy . deserialize_instance ( self . backup . metadata , self . user_input ) #NEWLINE# self . assertTrue ( errors )