aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)