Add reports test

pull/128/head^2
Lorenz Diener 2018-05-06 02:58:43 +02:00
rodzic 4b00c448f4
commit 3676e43f11
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -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()