apis_core.generic.tests

apis_core.generic.tests#

Submodules#

Package Contents#

Functions#

setup_test_app

Setup a Django test app for the provided package to allow test models tables to be created if the containing app has migrations.

API#

apis_core.generic.tests.setup_test_app(package, label=None)#

Setup a Django test app for the provided package to allow test models tables to be created if the containing app has migrations.

This function should be called from app.tests __init__ module and pass along __package__.