Complete M11 Creator Studio and M12 Trust & Safety for PC5
checkpoint / checkpoint (push) Failing after 3h14m9s

- Creator Studio: Visual behavior & property inspector, GLB model importer, binary persistence
- Trust & Safety: 18+ TOS confirmation (DOB removed), creator guidelines & briefing card on join, in-game reporting HUD
- Test Harness: Add --filter, --skip-backend, --skip-godot to run_checkpoint_tests.py
This commit is contained in:
2026-09-17 23:13:57 +00:00
parent 920354705a
commit 7ecf0d53bd
30 changed files with 2099 additions and 157 deletions
+21 -5
View File
@@ -149,18 +149,34 @@ class TestRegister:
assert resp.status_code == 409
assert "Email already registered" in resp.json()["detail"]
def test_register_missing_dob(self):
"""Missing the required date_of_birth field returns 422."""
def test_register_without_dob_succeeds(self):
"""DOB is no longer collected; registration with 18+ TOS agreement succeeds."""
client = TestClient(app)
resp = client.post(
"/api/auth/register",
json={
"username": "user",
"email": "user@example.com",
"username": "adult_user_nodob",
"email": "adult_user_nodob@example.com",
"password": "secret123",
"over_18": True,
},
)
assert resp.status_code == 422
assert resp.status_code == 201
def test_register_not_over_18_rejected(self):
"""Declining 18+ confirmation returns 403."""
client = TestClient(app)
resp = client.post(
"/api/auth/register",
json={
"username": "underage_declined",
"email": "underage_declined@example.com",
"password": "secret123",
"over_18": False,
},
)
assert resp.status_code == 403
# ---------------------------------------------------------------------------