def test_constructor(self):
        """
        KnowledgeTracingTutor.__init__() Test plan:
            - run_once, logger, skills, student_id all set
            - random.seed() called
        """
        random.seed = MagicMock()

        tmp_subject = KnowledgeTracingTutor(123, 456, None)
        tmp_subject.logger.should.equal(None)
        tmp_subject.run_once.should.equal(None)
        tmp_subject.skills.should.equal(
            ['addition', 'subtraction', 'multiplication', 'division'])
        tmp_subject.skill_ids.should.equal({
            'addition': None,
            'subtraction': None,
            'multiplication': None,
            'division': None
        })
        tmp_subject.student_id.should.equal(None)
 def setUp(self):
     """ setup any state tied to the execution of the given method in a
     class.  setup_method is invoked for every test method of a class.
     """
     self.test_subject = KnowledgeTracingTutor(123, 456, None)