#NEWLINE# def create_mock_servicedatacollection( svc , record = None ) : #NEWLINE# #INDENT# record = ( record if record else TestTools . create_mock_svc_record ( svc ) ) #NEWLINE# return { #NEWLINE# #INDENT# record . _id : TestTools . create_mock_servicedata ( svc , record = record ) , #NEWLINE# #UNINDENT# }