diff -r 0bf81efd55f9 -r 47cd31fd206b devtools/testlib.py --- a/devtools/testlib.py Fri Oct 22 14:27:53 2010 +0200 +++ b/devtools/testlib.py Fri Oct 22 14:30:59 2010 +0200 @@ -199,8 +199,7 @@ try: return cls.__dict__['_config'] except KeyError: - home = join(dirname(sys.modules[self.__class__.__module__].__file__), - cls.appid) + home = join(dirname(sys.modules[cls.__module__].__file__), cls.appid) config = cls._config = cls.configcls(cls.appid, apphome=home) config.mode = 'test' return config