From 3676e43f1198bb0cf57bfd68e5c553d927597a62 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sun, 6 May 2018 02:58:43 +0200 Subject: Add reports test --- tests/test_reports.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/test_reports.py 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 @@ +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() + \ No newline at end of file -- cgit v1.2.3