TireSwingSoftware/openassign-server — Issue #120: Fix broken exam_session_manager test
Author: jc0n
Created: 2012-03-02 17:50:10+00:00
State: open

It looks like this was introduced as part of #86.

```
======================================================================
ERROR: test_exam_session_manager
(pr_services.exam_system.tests.TestExamManagers)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mhrivnak/git/openassign-server/pr_services/exam_system/tests.py",
line 973, in test_exam_session_manager
fetch_all=True)
File "/home/mhrivnak/git/openassign-server/pr_services/testlib/__init__.py",
line 74, in _wrapper
return method(*args, **kwargs)
File "/home/mhrivnak/git/openassign-server/pr_services/exam_system/exam_session_manager.py",
line 194, in resume
es = self._find_by_id(exam_session)
File "/home/mhrivnak/git/openassign-server/pr_services/object_manager.py",
line 156, in _find_by_id
return Utils.find_by_id(id, self.my_django_model)
File "/home/mhrivnak/git/openassign-server/pr_services/utils/__init__.py",
line 35, in find_by_id
raise exceptions.ObjectNotFoundException(model_class._meta.module_name, id)
ObjectNotFoundException: error 97: object of type examsession and id 6
not found, details=[{'type_name': 'examsession', 'primary_key': 6L}]

```