issues
search
payton
/
django-siwe-auth
A complete Django authentication system overhall for Web3 utilizing Sign-In with Ethereum.
MIT License
26
stars
6
forks
source link
Create tests for Nonce model and logic
#43
Open
payton
opened
2 years ago
payton
commented
2 years ago
Write unit tests for...
nonce_is_valid function
https://github.com/payton/django-siwe-auth/blob/12c6d95a676c5534b83cc0ceeedfb936d1b4484a/siwe_auth/backend.py#L28-L39
Nonce model itself
https://github.com/payton/django-siwe-auth/blob/12c6d95a676c5534b83cc0ceeedfb936d1b4484a/siwe_auth/models.py#L74-L79
Nonce scrubbing logic (with freezegun?)
https://github.com/payton/django-siwe-auth/blob/12c6d95a676c5534b83cc0ceeedfb936d1b4484a/siwe_auth/views.py#L53-L68
Write unit tests for...