fixed issue 964, thanks Jonathan

This commit is contained in:
mdipierro
2012-09-09 09:20:45 -05:00
parent ebcd7a16a9
commit 97bcdfd73a
7 changed files with 19 additions and 10 deletions
+4 -1
View File
@@ -59,7 +59,10 @@ try:
def setUp(self):
self.request = Storage()
self.request.folder = 'applications/welcome'
if os.path.isdir('gluon'):
self.request.folder = 'applications/welcome'
else:
self.request.folder = os.path.realpath('../../applications/welcome')
self.request.env = Storage()
self.request.env.http_accept_language = 'en'