(self, *args, **kwargs)
| 23 | after_name = after or f"after_{func.__name__}" |
| 24 | |
| 25 | def wrapper(self, *args, **kwargs): |
| 26 | self.execute_hook(before_name, *args, **kwargs) |
| 27 | result = func(self, *args, **kwargs) |
| 28 | self.execute_hook(after_name, result) |
| 29 | return result |
| 30 | |
| 31 | return wrapper |
| 32 |
nothing calls this directly
no test coverage detected