Mastodonplus.py/tests/test_reports.py
2018-05-06 02:58:43 +02:00

8 líneas
repo.no_eol.text
210 B
Python

import pytest
@pytest.mark.vcr()
def test_report(api, status):
user = api.account_verify_credentials().id
report = api.report(user, status, "makes the bad post")
assert report in api.reports()