#NEWLINE# def test_marathon_service_config_copy( ) : #NEWLINE# #INDENT# fake_marathon_service_config = marathon_tools . MarathonServiceConfig ( service = 'fake-service' , instance = 'fake-instance' , cluster = 'fake-cluster' , config_dict = { #NEWLINE# #INDENT# 'elem' : 'test' , #NEWLINE# #UNINDENT# } , branch_dict = { #NEWLINE# #INDENT# 'elem2' : 'test2' , #NEWLINE# #UNINDENT# } ) #NEWLINE# fake_marathon_service_config_2 = fake_marathon_service_config . copy ( ) #NEWLINE# assert ( fake_marathon_service_config is not fake_marathon_service_config_2 ) #NEWLINE# assert ( fake_marathon_service_config == fake_marathon_service_config_2 )