(self, *args, _func=func, _case=screenshot_case, **kwargs)
| 147 | |
| 148 | @wraps(func) |
| 149 | def test(self, *args, _func=func, _case=screenshot_case, **kwargs): |
| 150 | with getattr(self, _case)(): |
| 151 | return _func(self, *args, **kwargs) |
| 152 | |
| 153 | test.__name__ = f"{name}_{screenshot_case}" |
| 154 | test.__qualname__ = f"{test.__qualname__}_{screenshot_case}" |
no outgoing calls
no test coverage detected