Changeset 2268
- Timestamp:
- 12/22/06 16:45:12 (2 years ago)
- Files:
-
- branches/1.0/turbogears/qstemplates/quickstart/test.cfg_tmpl (modified) (1 diff)
- branches/1.0/turbogears/testutil.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0/turbogears/qstemplates/quickstart/test.cfg_tmpl
r2263 r2268 1 1 # You can place test-specific configuration options here (like test db uri, etc) 2 2 # 3 4 #if $sqlalchemy != "True" 5 sqlobject.dburi = "sqlite:///:memory:" 6 #else 7 sqlalchemy.dburi = "sqlite:///:memory:" 8 #end if 9 branches/1.0/turbogears/testutil.py
r2263 r2268 37 37 config.update({"global" : {"tg.new_style_logging" : True}}) 38 38 config.update({"global" : {"autoreload.on" : False}}) 39 cherrypy.server.start(serverClass=None, initOnly=True)40 database.set_db_uri("sqlite:///:memory:")41 39 42 40 def start_cp():