Initial commit: iOS Build Server
- FastAPI backend with build queue, WebSocket logs, task management - Vue 3 frontend with build/config/history views - Xcode project build automation with IPA export - Fix: initialize build_dir before try block to ensure cleanup on early failure
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
"""打包选择接口测试(只读)"""
|
||||
|
||||
|
||||
def test_get_apps(client, tmp_config):
|
||||
resp = client.get("/api/apps")
|
||||
assert resp.status_code == 200
|
||||
assert "1" in resp.json()
|
||||
|
||||
|
||||
def test_get_schemes(client, tmp_config):
|
||||
resp = client.get("/api/schemes")
|
||||
assert resp.status_code == 200
|
||||
assert "1" in resp.json()
|
||||
|
||||
|
||||
def test_get_branches(client, tmp_config):
|
||||
resp = client.get("/api/branches")
|
||||
assert resp.status_code == 200
|
||||
branches = resp.json()
|
||||
assert "main" in branches
|
||||
assert "dev" in branches
|
||||
Reference in New Issue
Block a user