code: def test_mutInversion_full_length_random_indices_returns_reversed_chromosome_in_tuple(
      self, mock_randrange
  ):
      mock_randrange.side_effect = [0, 5]
      chromosome = ["a", "b", "c", "d", "e"]
      expected = ["e", "d", "c", "b", "a"]
      self.assertEqual((expected,), mutInversion(chromosome))
  
file_path: deap/tests/test_mutation.py
imports: import unittest
  from unittest import mock
  from deap.tools.mutation import mutInversion
label_desc: Use image node_id 5 for calling the MutationTest obj's underlying member method code with example usage: obj.test_mutInversion_full_length_random_indices_returns_reversed_chromosome_in_tuple(mock_randrange) without return types