#NEWLINE# def test_get_child_ids( cur , root , nd1 , nd2 , nd3 ) : #NEWLINE# #INDENT# ids = set ( get_child_ids ( cur , root ) ) #NEWLINE# assert ( len ( ids ) == 3 ) #NEWLINE# assert ( nd1 . id in ids ) #NEWLINE# assert ( nd2 . id in ids ) #NEWLINE# assert ( nd3 . id in ids )