changeset 6590 | 37b7f4df46b3 |
parent 6588 | f8320a8c3c9d |
parent 6589 | 47cd31fd206b |
child 6631 | 26c303c3f1aa |
--- a/devtools/testlib.py Fri Oct 22 14:28:09 2010 +0200 +++ b/devtools/testlib.py Fri Oct 22 14:32: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