def test_reset_method(self):
        P1 = axelrod.Grumpy(starting_state = 'Grumpy')
        P1.history = [C, D, D, D]
        P1.state = 'Nice'
        P1.reset()
        self.assertEqual(P1.history, [])
        self.assertEqual(P1.state, 'Grumpy')
tests the reset method
dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/tests/unit/test_grumpy.py/TestGrumpy.test_reset_method