Searched refs:release_func (Results 1 – 2 of 2) sorted by relevance
22 def __init__(self, release_func, *args, **kwargs): argument23 self.release_func = release_func31 if self.release_func:32 self.release_func(*self.args, **self.kwargs)
49 assert job.release_func is None327 assert job.release_func.func == expected_func.func328 assert job.release_func.args == expected_func.args329 assert job.release_func.keywords == expected_func.keywords