# HG changeset patch # User Sylvain Thénault # Date 1287750659 -7200 # Node ID 47cd31fd206bfdf34467c28ffc7343b2e0eac87c # Parent 0bf81efd55f9b60e674d424e4ae5b648077d2ce0 [testlib] /me stupid 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