Coverage report of django-cas-server, master branch:
98%
hide covered
Files
Functions
Classes
coverage.py v7.6.1
, created at 2024-08-18 11:22 +0000
File
function
statements
missing
excluded
branches
partial
coverage
cas_server/__init__.py
(no function)
7
3
0
2
1
56%
cas_server/admin.py
(no function)
48
0
0
2
0
100%
cas_server/apps.py
(no function)
8
1
0
2
1
80%
cas_server/auth.py
AuthUser.__init__
1
0
0
0
0
100%
cas_server/auth.py
AuthUser.test_password
0
0
1
0
0
100%
cas_server/auth.py
AuthUser.attributs
0
0
1
0
0
100%
cas_server/auth.py
DummyAuthUser.test_password
0
0
8
0
0
100%
cas_server/auth.py
DummyAuthUser.attributs
0
0
7
0
0
100%
cas_server/auth.py
TestAuthUser.test_password
1
0
0
0
0
100%
cas_server/auth.py
TestAuthUser.attributs
2
0
2
0
0
100%
cas_server/auth.py
DBAuthUser.attributs
0
0
12
0
0
100%
cas_server/auth.py
MysqlAuthUser.__init__
0
0
27
0
0
100%
cas_server/auth.py
MysqlAuthUser.test_password
0
0
17
0
0
100%
cas_server/auth.py
SqlAuthUser.__init__
0
0
17
0
0
100%
cas_server/auth.py
SqlAuthUser.test_password
0
0
17
0
0
100%
cas_server/auth.py
LdapAuthUser.get_conn
0
0
12
0
0
100%
cas_server/auth.py
LdapAuthUser.__init__
0
0
39
0
0
100%
cas_server/auth.py
LdapAuthUser.test_password
0
0
57
0
0
100%
cas_server/auth.py
LdapAuthUser.attributs
0
0
16
0
0
100%
cas_server/auth.py
DjangoAuthUser.__init__
0
0
6
0
0
100%
cas_server/auth.py
DjangoAuthUser.test_password
0
0
12
0
0
100%
cas_server/auth.py
DjangoAuthUser.attributs
0
0
40
0
0
100%
cas_server/auth.py
CASFederateAuth.__init__
5
0
0
0
0
100%
cas_server/auth.py
CASFederateAuth.test_password
3
0
0
2
0
100%
cas_server/auth.py
CASFederateAuth.attributs
1
0
2
0
0
100%
cas_server/auth.py
(no function)
26
0
87
0
0
100%
cas_server/default_settings.py
(no function)
89
4
0
8
1
95%
cas_server/federate.py
CASFederateValidateUser.__init__
2
0
0
0
0
100%
cas_server/federate.py
CASFederateValidateUser.get_login_url
1
0
0
0
0
100%
cas_server/federate.py
CASFederateValidateUser.get_logout_url
1
0
0
0
0
100%
cas_server/federate.py
CASFederateValidateUser.verify_ticket
15
0
0
4
0
100%
cas_server/federate.py
CASFederateValidateUser.register_slo
2
0
2
0
0
100%
cas_server/federate.py
CASFederateValidateUser.clean_sessions
12
0
4
4
0
100%
cas_server/federate.py
(no function)
20
0
0
2
0
100%
cas_server/forms.py
BootsrapForm.__init__
11
0
0
10
0
100%
cas_server/forms.py
UserCredential.clean
7
0
0
4
0
100%
cas_server/forms.py
FederateUserCredential.__init__
4
0
0
2
0
100%
cas_server/forms.py
FederateUserCredential.clean
6
0
2
0
0
100%
cas_server/forms.py
(no function)
36
1
0
2
1
95%
cas_server/migrations/0001_squashed_0013_auto_20170329_1748.py
(no function)
10
0
0
0
0
100%
cas_server/migrations/__init__.py
(no function)
0
0
0
0
0
100%
cas_server/models.py
JsonAttributes.attributs
2
0
0
2
0
100%
cas_server/models.py
JsonAttributes.attributs
1
0
0
0
0
100%
cas_server/models.py
FederatedIendityProvider.__str__
0
0
1
0
0
100%
cas_server/models.py
FederatedIendityProvider.build_username_from_suffix
1
0
0
0
0
100%
cas_server/models.py
FederatedIendityProvider.build_username
1
0
0
0
0
100%
cas_server/models.py
FederatedUser.__str__
0
0
1
0
0
100%
cas_server/models.py
FederatedUser.federated_username
1
0
0
0
0
100%
cas_server/models.py
FederatedUser.get_from_federated_username
10
0
0
2
0
100%
cas_server/models.py
FederatedUser.clean_old_entries
5
0
0
4
0
100%
cas_server/models.py
FederateSLO.clean_deleted_sessions
3
0
0
4
0
100%
cas_server/models.py
UserAttributes.__str__
0
0
1
0
0
100%
cas_server/models.py
UserAttributes.clean_old_entries
3
0
0
4
0
100%
cas_server/models.py
User.delete
3
0
0
2
0
100%
cas_server/models.py
User.clean_old_entries
7
0
0
4
0
100%
cas_server/models.py
User.clean_deleted_sessions
4
0
0
4
0
100%
cas_server/models.py
User.attributs
11
0
0
2
0
100%
cas_server/models.py
User.__str__
0
0
1
0
0
100%
cas_server/models.py
User.logout
6
0
0
4
0
100%
cas_server/models.py
User.get_ticket
15
0
0
14
0
100%
cas_server/models.py
User.get_service_url
4
0
0
0
0
100%
cas_server/models.py
ServicePattern.__str__
0
0
1
0
0
100%
cas_server/models.py
ServicePattern.check_user
17
0
0
12
0
100%
cas_server/models.py
ServicePattern.validate
5
0
0
4
0
100%
cas_server/models.py
Username.__str__
0
0
1
0
0
100%
cas_server/models.py
ReplaceAttributName.__str__
0
0
4
0
0
100%
cas_server/models.py
FilterAttributValue.__str__
0
0
1
0
0
100%
cas_server/models.py
ReplaceAttributValue.__str__
0
0
1
0
0
100%
cas_server/models.py
Ticket.__str__
0
0
1
0
0
100%
cas_server/models.py
Ticket.send_slos
14
0
0
8
0
100%
cas_server/models.py
Ticket.clean_old_entries
5
0
0
2
0
100%
cas_server/models.py
Ticket.logout
9
0
0
4
0
100%
cas_server/models.py
Ticket.get_class
3
0
2
4
0
100%
cas_server/models.py
Ticket.username
6
0
0
4
0
100%
cas_server/models.py
Ticket.attributs_flat
7
0
0
6
0
100%
cas_server/models.py
Ticket.get
17
0
0
12
0
100%
cas_server/models.py
ServiceTicket.__str__
0
0
1
0
0
100%
cas_server/models.py
ProxyTicket.__str__
0
0
1
0
0
100%
cas_server/models.py
ProxyGrantingTicket.__str__
0
0
1
0
0
100%
cas_server/models.py
Proxy.__str__
0
0
1
0
0
100%
cas_server/models.py
NewVersionWarning.send_mails
12
0
2
6
0
100%
cas_server/models.py
(no function)
194
1
14
60
0
99%
cas_server/templatetags/__init__.py
(no function)
0
0
0
0
0
100%
cas_server/templatetags/cas_server.py
is_checkbox
1
0
0
0
0
100%
cas_server/templatetags/cas_server.py
is_hidden
1
0
0
0
0
100%
cas_server/templatetags/cas_server.py
(no function)
7
0
0
4
0
100%
cas_server/urls.py
(no function)
9
2
0
0
0
78%
cas_server/utils.py
json_encode
5
0
0
0
0
100%
cas_server/utils.py
context
24
0
0
14
0
100%
cas_server/utils.py
json_response
4
0
0
2
0
100%
cas_server/utils.py
import_attr
13
1
0
8
1
90%
cas_server/utils.py
redirect_params
3
0
0
0
0
100%
cas_server/utils.py
reverse_params
5
0
0
2
0
100%
cas_server/utils.py
copy_params
7
0
0
6
0
100%
cas_server/utils.py
set_cookie
2
0
0
0
0
100%
cas_server/utils.py
get_current_url
9
0
0
6
0
100%
cas_server/utils.py
update_url
15
3
3
2
1
76%
cas_server/utils.py
update_url.to_unicode
3
0
0
2
0
100%
cas_server/utils.py
update_url.to_bytes
3
3
0
2
0
0%
cas_server/utils.py
unpack_nested_exception
9
0
0
4
0
100%
cas_server/utils.py
_gen_ticket
4
0
0
4
0
100%
cas_server/utils.py
gen_lt
1
0
0
0
0
100%
cas_server/utils.py
gen_st
1
0
0
0
0
100%
cas_server/utils.py
gen_pt
1
0
0
0
0
100%
cas_server/utils.py
gen_pgt
1
0
0
0
0
100%
cas_server/utils.py
gen_pgtiou
1
0
0
0
0
100%
cas_server/utils.py
gen_saml_id
1
0
0
0
0
100%
cas_server/utils.py
get_tuple
6
0
0
2
0
100%
cas_server/utils.py
crypt_salt_is_valid
17
3
0
12
1
86%
cas_server/utils.py
LdapHashUserPassword._raise_bad_scheme
3
0
0
0
0
100%
cas_server/utils.py
LdapHashUserPassword._test_scheme
2
0
0
2
0
100%
cas_server/utils.py
LdapHashUserPassword._test_scheme_salt
2
0
0
2
0
100%
cas_server/utils.py
LdapHashUserPassword._test_scheme_nosalt
2
0
0
2
0
100%
cas_server/utils.py
LdapHashUserPassword.hash
15
1
5
4
0
95%
cas_server/utils.py
LdapHashUserPassword.get_scheme
5
0
0
2
0
100%
cas_server/utils.py
LdapHashUserPassword.get_salt
15
1
0
8
1
91%
cas_server/utils.py
check_password
23
1
6
16
1
95%
cas_server/utils.py
decode_version
1
0
0
2
0
100%
cas_server/utils.py
last_version
15
0
3
2
0
100%
cas_server/utils.py
dictfetchall
2
0
0
0
0
100%
cas_server/utils.py
logout_request
1
0
0
0
0
100%
cas_server/utils.py
regexpr_validator
4
0
0
0
0
100%
cas_server/utils.py
(no function)
84
5
0
14
0
95%
cas_server/views.py
LogoutMixin.logout
22
0
0
10
0
100%
cas_server/views.py
CsrfExemptView.dispatch
1
0
0
0
0
100%
cas_server/views.py
LogoutView.init_get
4
0
0
0
0
100%
cas_server/views.py
LogoutView.delete_cookies
7
3
0
6
3
54%
cas_server/views.py
LogoutView.get
39
0
0
22
0
100%
cas_server/views.py
FederateAuth.get_cas_client
3
0
0
0
0
100%
cas_server/views.py
FederateAuth.post
21
0
2
6
0
100%
cas_server/views.py
FederateAuth.get
37
0
0
10
0
100%
cas_server/views.py
LoginView.init_post
12
0
0
4
0
100%
cas_server/views.py
LoginView.gen_lt
3
0
0
2
0
100%
cas_server/views.py
LoginView.check_lt
8
0
0
2
0
100%
cas_server/views.py
LoginView.post
23
0
2
10
0
100%
cas_server/views.py
LoginView.process_post
19
0
0
6
0
100%
cas_server/views.py
LoginView.init_get
14
0
0
6
0
100%
cas_server/views.py
LoginView.get
3
0
0
0
0
100%
cas_server/views.py
LoginView.process_get
5
0
0
2
0
100%
cas_server/views.py
LoginView.init_form
12
0
0
6
0
100%
cas_server/views.py
LoginView.service_login
35
0
0
16
0
100%
cas_server/views.py
LoginView.authenticated
15
0
0
6
0
100%
cas_server/views.py
LoginView.not_authenticated
31
0
2
20
0
100%
cas_server/views.py
LoginView.common
3
0
0
2
0
100%
cas_server/views.py
Auth.post
23
0
0
10
0
100%
cas_server/views.py
Validate.get
13
0
0
2
0
100%
cas_server/views.py
ValidationBaseError.__init__
3
0
0
0
0
100%
cas_server/views.py
ValidationBaseError.__str__
0
0
1
0
0
100%
cas_server/views.py
ValidationBaseError.render
1
0
0
0
0
100%
cas_server/views.py
ValidateError.context
1
0
0
0
0
100%
cas_server/views.py
ValidateService.get
19
0
0
4
0
100%
cas_server/views.py
ValidateService.process_ticket
17
0
0
8
0
100%
cas_server/views.py
ValidateService.process_pgturl
20
0
0
4
0
100%
cas_server/views.py
Proxy.get
10
0
0
2
0
100%
cas_server/views.py
Proxy.process_proxy
16
0
0
6
0
100%
cas_server/views.py
SamlValidateError.context
1
0
0
0
0
100%
cas_server/views.py
SamlValidate.post
13
0
0
0
0
100%
cas_server/views.py
SamlValidate.process_ticket
13
0
0
6
0
100%
cas_server/views.py
(no function)
127
3
1
10
0
98%
Total
1605
36
448
524
12
98%
No items found using the specified filter.