--- a/devtools/testlib.py Mon Oct 25 16:28:05 2010 +0200
+++ b/devtools/testlib.py Mon Oct 25 17:15:46 2010 +0200
@@ -25,7 +25,7 @@
import sys
import re
import urlparse
-from os.path import dirname, join
+from os.path import dirname, join, abspath
from urllib import unquote
from math import log
from contextlib import contextmanager
@@ -199,7 +199,7 @@
try:
return cls.__dict__['_config']
except KeyError:
- home = join(dirname(sys.modules[cls.__module__].__file__), cls.appid)
+ home = abspath(join(dirname(sys.modules[cls.__module__].__file__), cls.appid))
config = cls._config = cls.configcls(cls.appid, apphome=home)
config.mode = 'test'
return config