~ivle-dev/ivle/new-file-browser

« back to all changes in this revision

Viewing changes to ivle/webapp/testing/__init__.py

  • Committer: William Grant
  • Date: 2010-07-03 02:07:48 UTC
  • mfrom: (1294.1.498 trunk)
  • Revision ID: grantw@unimelb.edu.au-20100703020748-oxm0wel7mqpb2e2i
Merge trunk, resolving conflicts. Mostly working now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
import datetime
2
2
 
 
3
from ivle.config import Config
3
4
from ivle.database import User
4
5
from ivle.dispatch.request import Request
5
6
 
38
39
 
39
40
        # We don't want DB access in tests (by default)
40
41
        self.store = None
 
42
        self.config = Config()
41
43
 
42
44
        # Default values for the output members
43
45
        self.status = Request.HTTP_OK