tests.integration package#

Submodules#

tests.integration.01_system_wide_security module#

class tests.integration.01_system_wide_security.TestURLsRequireLogin(manager: CobaltTestManagerIntegration)[source]#

Bases: object

Tests all available URLs require the user to be authenticated unless specifically not required.

a1_test_all_urls()[source]#

It is easiest to use manage.py show_urls to get the URLs. We filter out the Django admin commands as we don’t need to test Django here

tests.integration.common_functions module#

Common functions used across all tests

Drive Cobalt HTMX user search to add a user

Parameters:
  • manager – standard manager object

  • search_button_id – id of the button to press to bring up the search

  • search_id – search id set for this user search

  • user_system_id – which user to add

Module contents#