def METHOD_NAME(self, execute_task, tmpdir):
    """Test directory creation"""
    execute_task('test_keep_dirs')
    assert tmpdir.join(
        self.out_dir, self.out_file
    ).exists(), 'Output file does not exist at the correct path.'