def minimum_engines(self, n=<NUM_LIT:1>, block=True):
self.engines.extend(add_engines(n, total=True))<EOL>if block:<EOL><INDENT>self.wait_on_engines()<EOL><DEDENT>
add engines until there are at least n connected