auto-sync: 2026-05-18 16:11:36

This commit is contained in:
cfdaily
2026-05-18 16:11:36 +08:00
parent 313efc3a2e
commit 60014b1146
+2 -2
View File
@@ -68,7 +68,7 @@ class TestE1ProjectManagement:
})
assert resp.status_code == 200
data = resp.json()
assert data["id"] == pid
assert data.get("project_id") == pid or data.get("id") == pid
# 清理
self._pid = pid
@@ -85,7 +85,7 @@ class TestE1ProjectManagement:
pytest.skip("No project created")
resp = client.get(f"/api/projects/{pid}")
assert resp.status_code == 200
assert resp.json()["id"] == pid
assert resp.json().get("id") == pid or resp.json().get("project_id") == pid
def test_e14_archive_project(self, client):
pid = getattr(self, "_pid", None)