def test_read_main(test_app): response = test_app.get('/ping') assert response.status_code == 200 data = response.json() assert "pong" in data['ping']