def test_truncate_value_right(self):
        value = 'string to truncate'
        truncated = truncate_value(value, max_length=1 - len(value), from_left=False)
        self.assertEqual(truncated, 'string t_849f01fd')
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/userreports/tests/test_utils.py/UtilitiesTestCase.test_truncate_value_right/swapped operands of `-`