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