def setup_method(self, method): self.opts = Munch( redis_db=9, redis_port=7777, ssh=Munch( transport="ssh" ), build_groups={ 0: { "spawn_playbook": "/spawn.yml", "name": "base", "archs": ["i386", "x86_64"] } } ) self.executor = Executor(self.opts) self.rc = get_redis_connection(self.opts)