def METHOD_NAME(self, n):
    """Generates n tasks for testing purposes"""
    with tempfile.NamedTemporaryFile(mode='w') as f:
        f.write('\n'.join([f'{{"description": "test task {i+1}"}}' for i in range(n)]))
        f.flush()
        # use a long timeout here, because import is quite slow
        code, out, err = self.t(f'import {f.name}', timeout=100)