def test_paragraphs(self):
        for x in range(1, 10):
            value = self.sd.paragraphs()
            self.assertTrue(isinstance(value, six.string_types))

            self.assertTrue(len(value.split('\n\n')) >= 1)
            self.assertTrue(len(value.split('\n\n')) <= 5)

        with self.assertRaises(ParameterError):
            value = self.sd.paragraphs(5, 1)
dataset/ETHPy150Open kaleidos/django-sampledatahelper/tests/tests.py/TestTextHelpers.test_paragraphs/original