management.tests.test_urlsΒΆ

Tests for settings app URL configuration.

ClassesΒΆ

SettingsUrlsTestCase

Similar to TransactionTestCase, but use transaction.atomic() to achieve

Module ContentsΒΆ

class management.tests.test_urls.SettingsUrlsTestCase(methodName='runTest')[source]ΒΆ

Bases: django.test.TestCase

Similar to TransactionTestCase, but use transaction.atomic() to achieve test isolation.

In most situations, TestCase should be preferred to TransactionTestCase as it allows faster execution. However, there are some situations where using TransactionTestCase might be necessary (e.g. testing some transactional behavior).

On database backends with no transaction support, TestCase behaves as TransactionTestCase.

setUp()[source]ΒΆ

Set up test data and authenticate the test client.

test_index_url()[source]ΒΆ

Test the management index URL.

test_logging_files_url()[source]ΒΆ

Test the logging files table URL.

test_logging_files_details_url()[source]ΒΆ

Test the logging files details URL.

test_logging_files_download_url()[source]ΒΆ

Test the logging files download URL.

test_logging_files_download_multiple_url()[source]ΒΆ

Test the logging files download multiple URL.

test_tls_url()[source]ΒΆ

Test the TLS settings URL.

test_backups_url()[source]ΒΆ

Test the backups management URL.

test_backup_download_url()[source]ΒΆ

Test the backup file download URL.

test_backup_download_multiple_url()[source]ΒΆ

Test the backup files download multiple URL.

test_backup_delete_multiple_url()[source]ΒΆ

Test the backup files delete multiple URL.

test_key_storage_url()[source]ΒΆ

Test the key storage configuration URL.

test_logging_regex_patterns()[source]ΒΆ

Test that logging regex patterns work correctly.

test_app_name()[source]ΒΆ

Test that the app name is correctly set.