def test_truncate_value_left(self):
        value = 'string to truncate'
        truncated = truncate_value(value, max_length=len(value) - 1)
        self.assertEqual(truncated, 'truncate_849f01fd')
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/userreports/tests/test_utils.py/UtilitiesTestCase.test_truncate_value_left/original