trustpoint.tests.test_urls

Tests for the url module.

Classes

TestUrls

Test cases for the main urls.py of the project.

Module Contents

class trustpoint.tests.test_urls.TestUrls[source]

Test cases for the main urls.py of the project.

test_admin_url_resolves(settings)[source]

Test that the admin panel URL resolves correctly to the admin site.

test_users_url_included()[source]

Test that the ‘users/’ URL pattern is included and resolves to the correct namespace.

test_home_index_url_resolves()[source]

Test that the home index URL resolves to the correct view.

test_crl_download_url_resolves()[source]

Test that the CRL download URL pattern resolves to CrlDownloadView.

test_devices_url_included()[source]

Test that the ‘devices/’ URL pattern is included and resolves correctly.

test_est_url_included()[source]

Test that the ‘est/’ URL pattern is included and resolves correctly.

test_cmp_url_included()[source]

Test that the ‘cmp/’ URL pattern is included and resolves to the correct namespace.

test_jsi18n_url_resolves()[source]

Test that the JavaScript Catalog (jsi18n) URL resolves correctly.