Add reports test
This commit is contained in:
pare
4b00c448f4
commit
3676e43f11
S'han modificat 1 arxius amb 8 adicions i 0 eliminacions
8
tests/test_reports.py
Normal file
8
tests/test_reports.py
Normal file
|
@ -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()
|
||||||
|
|
Loading…
Referencia en una nova incidència