Changeset 1979
- Timestamp:
- 06/08/08 16:39:00
- Files:
-
- branches/cherrypy-2.x/cherrypy/test/static/has space.html (deleted)
- branches/cherrypy-2.x/cherrypy/test/test_static_filter.py (modified) (3 diffs)
- branches/cherrypy-2.x/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/cherrypy-2.x/cherrypy/test/test_static_filter.py
r1210 r1979 4 4 import os 5 5 curdir = os.path.join(os.getcwd(), os.path.dirname(__file__)) 6 has_space_filepath = os.path.join(curdir, 'static', 'has space.html') 6 7 import threading 7 8 … … 11 12 12 13 def setup_server(): 14 if not os.path.exists(has_space_filepath): 15 file(has_space_filepath, 'wb').write('Hello, world\r\n') 16 13 17 class Root: 14 18 pass … … 55 59 }, 56 60 }) 61 62 63 def teardown_server(): 64 if os.path.exists(has_space_filepath): 65 try: 66 os.unlink(has_space_filepath) 67 except: 68 pass 57 69 58 70 import helper branches/cherrypy-2.x/setup.py
r1859 r1979 52 52 ('cherrypy/test', ['cherrypy/test/style.css',]), 53 53 ('cherrypy/test/static', ['cherrypy/test/static/index.html', 54 'cherrypy/test/static/has space.html',55 54 'cherrypy/test/static/dirback.jpg',]), 56 55 ]

