Changeset 778
- Timestamp:
- 11/02/05 01:09:35
- Files:
-
- trunk/cherrypy/test/test.py (modified) (1 diff)
- trunk/cherrypy/test/test_baseurl_filter.py (modified) (1 diff)
- trunk/cherrypy/test/test_cache_filter.py (modified) (1 diff)
- trunk/cherrypy/test/test_combinedfilters.py (modified) (1 diff)
- trunk/cherrypy/test/test_config.py (modified) (1 diff)
- trunk/cherrypy/test/test_core.py (modified) (1 diff)
- trunk/cherrypy/test/test_decodingencoding_filter.py (modified) (1 diff)
- trunk/cherrypy/test/test_gzip_filter.py (modified) (1 diff)
- trunk/cherrypy/test/test_logdebuginfo_filter.py (modified) (1 diff)
- trunk/cherrypy/test/test_noserver.py (modified) (1 diff)
- trunk/cherrypy/test/test_objectmapping.py (modified) (1 diff)
- trunk/cherrypy/test/test_session_filter.py (modified) (1 diff)
- trunk/cherrypy/test/test_sessionauthenticate_filter.py (modified) (1 diff)
- trunk/cherrypy/test/test_states.py (modified) (1 diff)
- trunk/cherrypy/test/test_static_filter.py (modified) (1 diff)
- trunk/cherrypy/test/test_tutorials.py (modified) (1 diff)
- trunk/cherrypy/test/test_xmlrpc_filter.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/test.py
r768 r778 299 299 helper.run_test_suite(self.tests, cls, conf) 300 300 301 def run():301 def prefer_parent_path(): 302 302 # Place this __file__'s grandparent (../../) at the start of sys.path, 303 303 # so that all cherrypy/* imports are from this __file__'s package. 304 304 localDir = os.path.dirname(__file__) 305 305 curpath = os.path.normpath(os.path.join(os.getcwd(), localDir)) 306 sys.path.insert(0, os.path.normpath(os.path.join(curpath, '../../'))) 306 grandparent = os.path.normpath(os.path.join(curpath, '../../')) 307 if grandparent not in sys.path: 308 sys.path.insert(0, grandparent) 309 310 def run(): 311 312 prefer_parent_path() 307 313 308 314 testList = [ trunk/cherrypy/test/test_baseurl_filter.py
r768 r778 1 import test 2 test.prefer_parent_path() 3 1 4 import cherrypy 2 5 trunk/cherrypy/test/test_cache_filter.py
r768 r778 1 import test 2 test.prefer_parent_path() 3 1 4 import cherrypy 2 5 import time trunk/cherrypy/test/test_combinedfilters.py
r768 r778 1 import test 2 test.prefer_parent_path() 3 1 4 import gzip, StringIO 2 5 import cherrypy trunk/cherrypy/test/test_config.py
r777 r778 1 1 """Tests for the CherryPy configuration system.""" 2 import test 3 test.prefer_parent_path() 2 4 3 5 import cherrypy trunk/cherrypy/test/test_core.py
r777 r778 1 1 """Basic tests for the CherryPy core: request handling.""" 2 3 import test 4 test.prefer_parent_path() 2 5 3 6 import cherrypy trunk/cherrypy/test/test_decodingencoding_filter.py
r768 r778 1 import test 2 test.prefer_parent_path() 1 3 2 4 import cherrypy trunk/cherrypy/test/test_gzip_filter.py
r776 r778 1 import test 2 test.prefer_parent_path() 3 1 4 import gzip, StringIO 2 5 import cherrypy trunk/cherrypy/test/test_logdebuginfo_filter.py
r768 r778 1 import test 2 test.prefer_parent_path() 3 1 4 import cherrypy 2 5 trunk/cherrypy/test/test_noserver.py
r762 r778 12 12 13 13 """ 14 import test 15 test.prefer_parent_path() 14 16 15 17 import cherrypy trunk/cherrypy/test/test_objectmapping.py
r768 r778 1 import sys 1 import test 2 test.prefer_parent_path() 2 3 3 4 import cherrypy trunk/cherrypy/test/test_session_filter.py
r768 r778 1 import cherrypy, time, os 1 import test 2 test.prefer_parent_path() 3 4 import cherrypy, os 2 5 3 6 class Root: trunk/cherrypy/test/test_sessionauthenticate_filter.py
r768 r778 1 import test 2 test.prefer_parent_path() 1 3 2 import cherrypy , time, os4 import cherrypy 3 5 4 6 class Test: trunk/cherrypy/test/test_states.py
r768 r778 1 import time 1 import test 2 test.prefer_parent_path() 3 2 4 import threading 3 5 trunk/cherrypy/test/test_static_filter.py
r768 r778 1 import test 2 test.prefer_parent_path() 3 1 4 import cherrypy 2 5 import os trunk/cherrypy/test/test_tutorials.py
r768 r778 1 import unittest 1 import test 2 test.prefer_parent_path() 3 2 4 import sys 3 5 trunk/cherrypy/test/test_xmlrpc_filter.py
r768 r778 1 import test 2 test.prefer_parent_path() 3 1 4 import xmlrpclib 2 from datetime import datetime3 5 import cherrypy 4 6

