est.tests.test_urlsΒΆ

Comprehensive tests for EST urls.py module.

AttributesΒΆ

ClassesΒΆ

TestEstUrlPatterns

Test EST URL pattern resolution and reverse URL lookup.

Module ContentsΒΆ

est.tests.test_urls.EST_PREFIX = '/.well-known/est/'[source]ΒΆ
class est.tests.test_urls.TestEstUrlPatterns[source]ΒΆ

Test EST URL pattern resolution and reverse URL lookup.

test_app_name()[source]ΒΆ

Test that the app_name is correctly set.

test_simple_enrollment_default_url()[source]ΒΆ

Test simpleenroll default URL pattern resolution.

test_simple_enrollment_default_url_with_trailing_slash()[source]ΒΆ

Test simpleenroll default URL with trailing slash.

test_simple_enrollment_with_domain_url()[source]ΒΆ

Test simpleenroll URL with domain parameter.

test_simple_enrollment_with_domain_and_template_url()[source]ΒΆ

Test simpleenroll URL with domain and certtemplate parameters.

test_simple_enrollment_with_domain_and_template_trailing_slash()[source]ΒΆ

Test simpleenroll URL with trailing slash.

test_simple_reenrollment_with_domain_url()[source]ΒΆ

Test simplereenroll URL with domain parameter.

test_simple_reenrollment_with_domain_and_template_url()[source]ΒΆ

Test simplereenroll URL with domain and certtemplate parameters.

test_simple_reenrollment_with_domain_and_template_trailing_slash()[source]ΒΆ

Test simplereenroll URL with trailing slash.

test_cacerts_url_with_domain()[source]ΒΆ

Test cacerts URL with domain parameter.

test_cacerts_url_with_domain_and_template()[source]ΒΆ

Test cacerts URL with domain and certtemplate parameters.

test_csrattrs_url()[source]ΒΆ

Test csrattrs URL with domain and certtemplate.

test_url_pattern_with_special_characters_in_domain()[source]ΒΆ

Test URL patterns with special characters in domain name.

test_url_pattern_with_special_characters_in_certtemplate()[source]ΒΆ

Test URL patterns with special characters in certtemplate.

test_reverse_simple_enrollment_default()[source]ΒΆ

Test reverse URL lookup for simple enrollment default.

test_reverse_simple_enrollment_with_params()[source]ΒΆ

Test reverse URL lookup for simple enrollment with parameters.

test_reverse_simple_reenrollment_with_params()[source]ΒΆ

Test reverse URL lookup for simple reenrollment with parameters.

test_reverse_cacerts_with_params()[source]ΒΆ

Test reverse URL lookup for cacerts with parameters.

test_reverse_csrattrs()[source]ΒΆ

Test reverse URL lookup for csrattrs.

test_urlpatterns_list_length()[source]ΒΆ

Test that urlpatterns contains expected number of patterns.

test_urlpatterns_all_have_names()[source]ΒΆ

Test that all URL patterns have names.

test_optional_certtemplate_in_enrollment()[source]ΒΆ

Test that certtemplate is optional in enrollment URL.

test_optional_certtemplate_in_reenrollment()[source]ΒΆ

Test that certtemplate is optional in reenrollment URL.

test_optional_certtemplate_in_cacerts()[source]ΒΆ

Test that certtemplate is optional in cacerts URL.