33 client.get(
"/api/config")
34 live = config_fingerprint(session.app_state.config)
36 refused = client.put(f
"/api/config?expect_sha256={stale}", json={
"thrust": {
"burn_time": 3.0}})
37 assert refused.status_code == 409
38 assert config_fingerprint(session.app_state.config) == live
39 landed = client.put(f
"/api/config?expect_sha256={live}", json={
"rocket": {
"fin_thickness_m": 0.004}})
40 assert landed.status_code == 200
41 assert client.put(
"/api/config", json={
"rocket": {
"fin_thickness_m": 0.005}}).status_code == 200