#NEWLINE# def test_get_drain_method_params_default_when_not_in_smartstack( self ) : #NEWLINE# #INDENT# fake_service_namespace_config = mock . Mock ( is_in_smartstack = mock . Mock ( return_value = False ) ) #NEWLINE# fake_conf = marathon_tools . MarathonServiceConfig ( service = 'fake_name' , cluster = 'fake_cluster' , instance = 'fake_instance' , config_dict = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , branch_dict = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( fake_conf . get_drain_method_params ( fake_service_namespace_config ) == { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )