Part of lp.testing.yuixhr View In Hierarchy
This makes the function available to call from JS integration tests over XHR. The fixture setup can have one or more cleanups tied to it with add_cleanup decorator/callable and can be composed with another function with the extend decorator/callable.
|Method||__call__||Call the originally decorated setup function.|
|Method||add_cleanup||Add a cleanup function to be executed on teardown, FILO.|
|Method||teardown||Run all registered cleanups. If no cleanups, a no-op.|