#NEWLINE# def test_model_get_subsections( self ) : #NEWLINE# #INDENT# "Test the BaseSection model's get_subsections method" #NEWLINE# TestSection . load_bulk ( BASE_DATA ) #NEWLINE# section = TestSection . objects . get ( slug = '2' ) #NEWLINE# for sub_section in section . get_subsections ( ) : #NEWLINE# #INDENT# self . assertTrue ( ( section . slug in [ '21' , '22' , '23' , '24' ] ) )