aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicah <[email protected]>2022-11-25 21:45:52 +0000
committermicah <[email protected]>2022-11-25 21:45:52 +0000
commitdd23f8b7c5e46989b2a73b21816c59bbbd34ef35 (patch)
treedd9c08cce97aec58daacd8f7b852d2e64886f951 /tests/test_admin.py
parent2c7b58568db735534912b2bc0990294e9d4a9c19 (diff)
parent99514e50d1e1ef6330397c2cada203dfa3891b3a (diff)
downloadmastodon.py-dd23f8b7c5e46989b2a73b21816c59bbbd34ef35.tar.gz
Merge remote-tracking branch 'origin/master' into catgoat/domain_blocks
Diffstat (limited to 'tests/test_admin.py')
-rw-r--r--tests/test_admin.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/test_admin.py b/tests/test_admin.py
index f62b96b..6a72ed7 100644
--- a/tests/test_admin.py
+++ b/tests/test_admin.py
@@ -108,7 +108,14 @@ def test_admin_reports(api, api2, status):
108 report2 = api2.admin_report(report) 108 report2 = api2.admin_report(report)
109 assert(report2) 109 assert(report2)
110 assert(report2.id == report.id) 110 assert(report2.id == report.id)
111 111
112@pytest.mark.vcr()
113def test_admin_trends(api2):
114 assert isinstance(api2.admin_trending_tags(), list)
115 assert isinstance(api2.admin_trending_statuses(), list)
116 assert isinstance(api2.admin_trending_links(), list)
117 assert isinstance(api2.admin_trending_tags(limit=5), list)
118
112@pytest.mark.skip(reason="reject / accept of account requests isn't really testable without modifying instance settings. anyone want to fumble those into the DB setup and write this test, please do.") 119@pytest.mark.skip(reason="reject / accept of account requests isn't really testable without modifying instance settings. anyone want to fumble those into the DB setup and write this test, please do.")
113def test_admin_accountrequests(api2): 120def test_admin_accountrequests(api2):
114 pass 121 pass
Powered by cgit v1.2.3 (git 2.41.0)