diff options
author | Lorenz Diener <[email protected]> | 2018-05-06 02:58:43 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-06 02:58:43 +0200 |
commit | 3676e43f1198bb0cf57bfd68e5c553d927597a62 (patch) | |
tree | 1f0b90130360d58b6e734476b5d809a15670c422 | |
parent | 4b00c448f4a55859d5177c981a8fc4b388e8b5b3 (diff) | |
download | mastodon.py-3676e43f1198bb0cf57bfd68e5c553d927597a62.tar.gz |
Add reports test
-rw-r--r-- | tests/test_reports.py | 8 |
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 @@ | |||
1 | import pytest | ||
2 | |||
3 | @pytest.mark.vcr() | ||
4 | def 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 | ||