def test_api_hint_get_admin():
    """Can the users get /api/v1/hints if admin"""
    app = create_ctfd()
    with app.app_context():
        with login_as_user(app, name="admin") as client:
            r = client.get("/api/v1/hints", json="")
            assert r.status_code == 200
    destroy_ctfd(app)
Can the users get /api/v1/hints if admin
tests/api/v1/test_hints.py