Coverage report:
46%
hide covered
Files
Functions
Classes
coverage.py v7.5.4
, created at 2024-06-23 20:55 +0000
File
class
statements
missing
excluded
branches
partial
coverage
src/django_otp_webauthn/__init__.py
(no class)
1
0
0
0
0
100%
src/django_otp_webauthn/admin.py
WebAuthnCredentialAdmin
14
14
0
2
0
0%
src/django_otp_webauthn/admin.py
(no class)
22
0
0
2
1
96%
src/django_otp_webauthn/apps.py
OtpWebauthnConfig
5
0
0
0
0
100%
src/django_otp_webauthn/apps.py
(no class)
9
0
0
0
0
100%
src/django_otp_webauthn/checks.py
(no class)
15
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
OTPWebAuthnApiError
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
InvalidState
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
UnprocessableEntity
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
PasswordlessLoginDisabled
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
RegistrationDisabled
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
AuthenticationDisabled
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
LoginRequired
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
UserDisabled
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
CredentialDisabled
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
CredentialNotFound
0
0
0
0
0
100%
src/django_otp_webauthn/exceptions.py
(no class)
40
0
0
0
0
100%
src/django_otp_webauthn/helpers.py
WebAuthnHelper
110
110
0
20
0
0%
src/django_otp_webauthn/helpers.py
(no class)
45
45
0
0
0
0%
src/django_otp_webauthn/migrations/0001_initial.py
Migration
0
0
0
0
0
100%
src/django_otp_webauthn/migrations/0001_initial.py
(no class)
7
0
0
0
0
100%
src/django_otp_webauthn/migrations/0002_timestamps.py
Migration
0
0
0
0
0
100%
src/django_otp_webauthn/migrations/0002_timestamps.py
(no class)
4
0
0
0
0
100%
src/django_otp_webauthn/migrations/__init__.py
(no class)
0
0
0
0
0
100%
src/django_otp_webauthn/models.py
WebAuthnAttestationManager
1
0
0
0
0
100%
src/django_otp_webauthn/models.py
WebAuthnCredentialManager
1
0
0
0
0
100%
src/django_otp_webauthn/models.py
WebAuthnCredentialQuerySet
1
0
0
0
0
100%
src/django_otp_webauthn/models.py
AbstractWebAuthnAttestation
3
1
0
0
0
67%
src/django_otp_webauthn/models.py
AbstractWebAuthnAttestation.Meta
0
0
0
0
0
100%
src/django_otp_webauthn/models.py
AbstractWebAuthnAttestation.Format
0
0
0
0
0
100%
src/django_otp_webauthn/models.py
AbstractWebAuthnCredential
11
2
0
2
0
85%
src/django_otp_webauthn/models.py
AbstractWebAuthnCredential.Meta
0
0
0
0
0
100%
src/django_otp_webauthn/models.py
AbstractWebAuthnCredential.CredentialType
0
0
0
0
0
100%
src/django_otp_webauthn/models.py
WebAuthnCredential
0
0
0
0
0
100%
src/django_otp_webauthn/models.py
WebAuthnAttestation
0
0
0
0
0
100%
src/django_otp_webauthn/models.py
(no class)
88
0
0
10
0
100%
src/django_otp_webauthn/settings.py
AppSettings
8
6
0
4
1
25%
src/django_otp_webauthn/settings.py
(no class)
36
0
0
2
0
100%
src/django_otp_webauthn/templatetags/__init__.py
(no class)
0
0
0
0
0
100%
src/django_otp_webauthn/templatetags/otp_webauthn.py
(no class)
12
12
0
4
0
0%
src/django_otp_webauthn/urls.py
(no class)
5
5
0
0
0
0%
src/django_otp_webauthn/utils.py
rewrite_exceptions
26
26
0
22
0
0%
src/django_otp_webauthn/utils.py
(no class)
18
0
2
0
0
100%
src/django_otp_webauthn/views.py
RegistrationCeremonyMixin
12
12
0
8
0
0%
src/django_otp_webauthn/views.py
AuthenticationCeremonyMixin
10
10
0
6
0
0%
src/django_otp_webauthn/views.py
BeginCredentialRegistrationView
5
5
0
0
0
0%
src/django_otp_webauthn/views.py
CompleteCredentialRegistrationView
13
13
0
4
0
0%
src/django_otp_webauthn/views.py
BeginCredentialAuthenticationView
6
6
0
0
0
0%
src/django_otp_webauthn/views.py
CompleteCredentialAuthenticationView
33
33
0
12
0
0%
src/django_otp_webauthn/views.py
(no class)
50
50
0
10
0
0%
tests/__init__.py
(no class)
0
0
0
0
0
100%
tests/conftest.py
(no class)
11
0
0
8
0
100%
tests/factories.py
UserFactory
0
0
0
0
0
100%
tests/factories.py
UserFactory.Meta
0
0
0
0
0
100%
tests/factories.py
WebAuthnCredentialFactory
2
0
0
0
0
100%
tests/factories.py
WebAuthnCredentialFactory.Meta
0
0
0
0
0
100%
tests/factories.py
WebAuthnCredentialFactory.Params
0
0
0
0
0
100%
tests/factories.py
WebAuthnAttestationFactory
0
0
0
0
0
100%
tests/factories.py
WebAuthnAttestationFactory.Meta
0
0
0
0
0
100%
tests/factories.py
(no class)
39
0
0
4
0
100%
tests/fixtures/__init__.py
(no class)
0
0
0
0
0
100%
tests/fixtures/authenticators.py
AuthenticatorVerificationResponse
0
0
0
0
0
100%
tests/fixtures/authenticators.py
Authenticator
1
1
0
0
0
0%
tests/fixtures/authenticators.py
(no class)
28
28
0
4
0
0%
tests/fuzzy.py
FuzzyBytes
3
0
0
0
0
100%
tests/fuzzy.py
(no class)
5
0
0
0
0
100%
tests/unit/__init__.py
(no class)
0
0
0
0
0
100%
tests/unit/test_models.py
(no class)
32
0
0
22
0
100%
Total
732
379
2
146
2
46%
No items found using the specified filter.