from tests.helpers import * def test_get_admin_notifications(): app = create_ctfd() with app.app_context(): register_user(app) client = login_as_user(app, name="admin", password="password") r = client.get('/admin/notifications') assert r.status_code == 200 destroy_ctfd(app)