#NEWLINE# def test_select_specific_subclasses( self ) : #NEWLINE# #INDENT# children = set ( [ children . child1 , InheritanceManagerTestParent ( pk = self . child2 . pk ) , InheritanceManagerTestChild1 ( pk = self . grandchild1 . pk ) , InheritanceManagerTestChild1 ( pk = self . grandchild1_2 . pk ) ] ) #NEWLINE# self . assertEqual ( set ( self . get_manager ( ) . select_subclasses ( 'inheritancemanagertestchild1' ) ) , children )