def testGetContent(self):
        Position.objects.add_object(self.samplePosition, self.text1)
        Position.objects.add_object(self.samplePosition, self.text2)
        Position.objects.add_object(self.samplePosition, self.text3)
        Position.objects.add_object(self.samplePosition, self.text4)
        Position.objects.add_object(self.samplePosition, self.text5)
        
        pc1 = Position.objects.get_content(self.samplePosition)
        
        # This position should only return 3 items
        self.assertTrue(len(pc1), 3)
        
        # The default get_content returns the content objects by default.
        for item in pc1:
            self.assertTrue(isinstance(item, SimpleText))
            
        # Here we will try to retrieve more objects from the position than
        # the position specifies
        pc2 = Position.objects.get_content(self.samplePosition, count=4)
        
        self.assertTrue(len(pc2), 4)
        
        # Here will ensure the order is preserved when getting the content type
        pc3 = Position.objects.get_content(self.samplePosition, as_contenttype=False)
        pc4 = Position.objects.get_content(self.samplePosition)
        
        for count, item in enumerate(pc3):
            self.assertTrue(item.content_object, pc4[count])
        
        # Test returning the PositionContent instances enstead 
        # of the content object instance
        pc5 = Position.objects.get_content(self.samplePosition, as_contenttype=False)
        
        for item in pc5:
            self.assertTrue(isinstance(item, PositionContent))
Lists all your correlations.
dataset/ETHPy150Open callowayproject/django-kamasutra/positions/tests.py/PositionsTestCase.testGetContent--crossover with--dataset/ETHPy150Open bigmlcom/python/bigml/correlationhandler.py/CorrelationHandler.list_correlations