#NEWLINE# def test_all_to_er( ) : #NEWLINE# #INDENT# tables = [ child , parent ] #NEWLINE# relations = [ relation ] #NEWLINE# output = _intermediary_to_markdown ( tables , relations ) #NEWLINE# for element in ( relations + tables ) : #NEWLINE# #INDENT# assert ( element . to_markdown ( ) in output )