summaryrefslogtreecommitdiff
path: root/tests/test_users.py
AgeCommit message (Collapse)AuthorLines
2021-07-30Add templatesTom Harley-3/+1
Rather than using jsonify on a dict, the system now uses render_template on json documents. This gives the ability to extend previous files (which might be useful for activitypub features), and also enables using different templates for different filetypes. Supplied are templates for accessing inboxes and outboxes in JSON-LD and HTML. The "items" field in get_user_inbox_page.json and get_user_outbox_page.json might be currently borked.
2021-07-11Add more inbox/outbox testsHEADmasterTom Harley-1/+47
Still not even total coverage! Need to: - write more tests for outbox manipulation - look into and implement receiving content from other servers (+ write tests) off the top of my head.
2021-07-09Add basic inbox/outbox functionalityTom Harley-0/+71
Lots of added TODOs, and very little test coverage for the new functions. Next step is to get 100% coverage of what we have so far.