Skip to content
Snippets Groups Projects
Verified Commit 70324e80 authored by Ciarán Ainsworth's avatar Ciarán Ainsworth
Browse files

Add email verification test

parent 2180841c
No related branches found
No related tags found
1 merge request!1Add basic model tests
{
"detail": "ok"
}
\ No newline at end of file
{
"key": "averyrealkeythatisdefinitelynotfakeandusedfortestingpurposes"
}
\ No newline at end of file
import json
from funkwhale_api_client.models.verify_email import VerifyEmail
def test_VerifyEmail(load_data):
response = load_data("verify_email")
verify_email : VerifyEmail = VerifyEmail.from_dict(response)
assert isinstance(verify_email, VerifyEmail)
\ No newline at end of file
import json
from funkwhale_api_client.models.verify_email_request import VerifyEmailRequest
def test_VerifyEmailRequest(load_data):
response = load_data("verify_email_request")
email_request : VerifyEmailRequest = VerifyEmailRequest.from_dict(response)
assert isinstance(email_request, VerifyEmailRequest)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment