Utils¶
Offers various utility fixtures.
Functions¶
conf_app_name¶
Returns your application name (deduced or provided).
get_stamp¶
Returns current timestamp as a string.
registered_urls¶
Returns mapping from registered urlpatterns to names and args.
run_app¶
Issues runserver command using current configuration
(dynamic or defined by user through configure_djangoapp_plugin()).
Useful for manual verification and debug, to have look and feel of an enduser project with your app.
Run the test using the fixture as usual. It'll start Django development server. Stop server with Ctrl+C.
Admin user is automatically created: username=admin password=admin