def testSetRange(self):
    os_file_object = os_file_io.OSFile(self._resolver_context)
    os_file_object.open(path_spec=self._os_path_spec)
    file_object = data_range_io.DataRange(
        self._resolver_context, file_object=os_file_object)
    file_object.SetRange(167, 1080)
    file_object.open()

    self.assertEqual(file_object.get_size(), 1080)

    file_object.close()
    os_file_object.close()

    # TODO: add some edge case tesing here.
Delete the local private key file
dataset/ETHPy150Open log2timeline/dfvfs/tests/file_io/data_range_io.py/DataRangeTest.testSetRange--crossover with--dataset/ETHPy150Open saltstack/salt/salt/key.py/RaetKey.delete_local