def test_single_item_list(self): expected = ['fox'] self.assertEqual(replace_singleitem(['asdf'], 0, 'fox'), expected)
def test_replace_singleitem(self): expected = ['0', '1', 'fox', '3', '4', '5'] self.assertEqual(replace_singleitem(self._input, 2, 'fox'), expected)