def setup(self): self.celery = Celery() dirname = os.path.dirname(__file__) self.cfg = YAMLConfigFile(os.path.join(dirname, "../config.default.yml"))