Ian Singh
unread,Nov 12, 2009, 10:56:04 AM11/12/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Windmill Developers
Hi, The button to show test code isnt working for me:
Here are my changes to windmill/authoring/transforms.py:
def create_saves_path():
directory = tempfile.mkdtemp(suffix='.windmill-saves')
# Mount the fileserver application for tests
from webenv.applications.file_server import FileServerApplication
#application = FileServerApplication(os.path.dirname(__file__))
#XXX
application = FileServerApplication(directory)
#server.add_namespace('windmill-unittests', application)
#XXX
server.add_namespace('windmill-saves', application)
windmill.settings['SAVES_PATH'] = directory
windmill.teardown_directories.append(directory)
Thanks,
Ian