MCPcopy
hub / github.com/django/django / wrapper

Function wrapper

django/test/selenium.py:283–286  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

281 method_names = method_names.split(",")
282
283 def wrapper(func):
284 func._screenshot_cases = method_names
285 setattr(func, "tags", {"screenshot"}.union(getattr(func, "tags", set())))
286 return func
287
288 return wrapper

Callers

nothing calls this directly

Calls 1

unionMethod · 0.45

Tested by

no test coverage detected