MCPcopy
hub / github.com/django/django / test

Method test

django/test/selenium.py:149–151  ·  view source on GitHub ↗
(self, *args, _func=func, _case=screenshot_case, **kwargs)

Source from the content-addressed store, hash-verified

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}"

Callers 11

mapwidget.test.jsFile · 0.45
SelectBox.test.jsFile · 0.45
core.test.jsFile · 0.45
URLify.test.jsFile · 0.45
navigation.test.jsFile · 0.45
actions.test.jsFile · 0.45
inlines.test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected