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

Add note and report handling tests

parent c4d09cfc
Branches
Tags
1 merge request!1Add basic model tests
Pipeline #23699 failed
{
"target": {
"type": "report",
"uuid": "5c8251fd-5e74-4fbf-bc4d-58ffa558cb5a"
},
"summary": "Don't be silly"
}
\ No newline at end of file
{
"is_handled": true
}
\ No newline at end of file
import json
from funkwhale_api_client.models.manage_note_request import ManageNoteRequest
def test_ManageNoteRequest(load_data):
response = load_data("manage_note_request")
note : ManageNoteRequest = ManageNoteRequest.from_dict(response)
assert isinstance(note, ManageNoteRequest)
\ No newline at end of file
import json
from readline import insert_text
from funkwhale_api_client.models.patched_manage_report_request import PatchedManageReportRequest
def test_PatchedManageReportRequest(load_data):
response = load_data("patched_manage_report_request")
request : PatchedManageReportRequest = PatchedManageReportRequest.from_dict(response)
assert isinstance(request, PatchedManageReportRequest)
\ 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