[ ] I have added tests for this code in tests/test_ephemetoot.py
[ ] I would like assistance to write the required tests
[x] I don't know how to write test and would like someone to write them for me
The requests library doesn't support file:// URLs so I have no idea how to write a test for this.
It seems inappropriate to to fetch a random URL from the internet in a test.
What this PR does
Changes in this pull request
With the archive_media option set to true, media attachments are
archived together with the toot.
Styles and docs
black
on my codeTests
tests/test_ephemetoot.py
The requests library doesn't support file:// URLs so I have no idea how to write a test for this. It seems inappropriate to to fetch a random URL from the internet in a test.
What this PR does
Changes in this pull request With the archive_media option set to true, media attachments are archived together with the toot.
Related issues
Resolves #72