#NEWLINE# def assertCanCreateAt( self , parent_model , child_model , msg = None ) : #NEWLINE# #INDENT# '\n        Assert a particular child Page type can be created under a parent\n        Page type. ``parent_model`` and ``child_model`` should be the Page\n        classes being tested.\n        ' #NEWLINE# if ( not self . _testCanCreateAt ( parent_model , child_model ) ) : #NEWLINE# #INDENT# msg = self . _formatMessage ( msg , ( 'Can not create a %s.%s under a %s.%s' % ( child_model . _meta . app_label , child_model . _meta . model_name , parent_model . _meta . app_label , parent_model . _meta . model_name ) ) ) #NEWLINE# raise self . failureException ( msg )