def test_user_get_another_public_solves():
    """Can a registered user load public solves page of another user"""
    app = create_ctfd()
    with app.app_context():
        register_user(app, name="user1", email="user1@examplectf.com")  # ID 2
        register_user(app, name="user2", email="user2@examplectf.com")  # ID 3
        client = login_as_user(app, name="user2")
        r = client.get("/api/v1/users/2/solves")
        assert r.status_code == 200
    destroy_ctfd(app)
Can a registered user load public solves page of another user
tests/users/test_submissions.py