def test_chars(self):
        value = self.sd.chars()
        self.assertTrue(isinstance(value, six.string_types))
        self.assertTrue(len(value) >= 1)
        self.assertTrue(5 <= len(value))

        value = self.sd.chars(5, 5)
        self.assertTrue(len(value) == 5)

        self.assertEqual(self.sd.chars(0, 0), '')

        with self.assertRaises(ParameterError):
            value = self.sd.chars(10, 5)
dataset/ETHPy150Open kaleidos/django-sampledatahelper/tests/tests.py/TestTextHelpers.test_chars/swapped operands of `<=`