diff options
author | Lorenz Diener <[email protected]> | 2018-05-06 15:55:32 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-05-06 15:55:32 +0200 |
commit | ca0ea36c6edd58dc15e5fd7f31f24ba5097d6e8d (patch) | |
tree | 98328e8776447334b19592992016d9b7f16ae98b /tests/test_reports.py | |
parent | 06e32c14bcb5a1ef1a5e618a1b413ea011416c9d (diff) | |
parent | fbd4122fec092bff6b1cc9f44dfeda6ee693c41b (diff) | |
download | mastodon.py-ca0ea36c6edd58dc15e5fd7f31f24ba5097d6e8d.tar.gz |
Merge branch 'master' into stream-timeout
Diffstat (limited to 'tests/test_reports.py')
-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 | ||