aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-05-06 02:58:43 +0200
committerLorenz Diener <[email protected]>2018-05-06 02:58:43 +0200
commit3676e43f1198bb0cf57bfd68e5c553d927597a62 (patch)
tree1f0b90130360d58b6e734476b5d809a15670c422
parent4b00c448f4a55859d5177c981a8fc4b388e8b5b3 (diff)
downloadmastodon.py-3676e43f1198bb0cf57bfd68e5c553d927597a62.tar.gz
Add reports test
-rw-r--r--tests/test_reports.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_reports.py b/tests/test_reports.py
new file mode 100644
index 0000000..037b2ba
--- /dev/null
+++ b/tests/test_reports.py
@@ -0,0 +1,8 @@
1import pytest
2
3@pytest.mark.vcr()
4def test_report(api, status):
5 user = api.account_verify_credentials().id
6 report = api.report(user, status, "makes the bad post")
7 assert report in api.reports()
8 \ No newline at end of file
Powered by cgit v1.2.3 (git 2.41.0)