#NEWLINE# def test_get_choices( self ) : #NEWLINE# #INDENT# choices = self . cl . get_choices ( ) #NEWLINE# self . assertEqual ( len ( choices ) , 3 ) #NEWLINE# self . assertIn ( self . cat1 , choices ) #NEWLINE# self . assertIn ( self . cat2 , choices ) #NEWLINE# self . assertIn ( self . cat3 , choices ) #NEWLINE# choices = self . cl_cat1 . get_choices ( ) #NEWLINE# self . assertEqual ( len ( choices ) , 2 ) #NEWLINE# self . assertIn ( self . cat11 , choices ) #NEWLINE# self . assertIn ( self . cat111 , choices )