在前后端开发联调前 的提交20260223

This commit is contained in:
Neo
2026-02-23 23:02:20 +08:00
parent 254ccb1e77
commit fafc95e64c
1142 changed files with 10366960 additions and 36957 deletions

View File

@@ -152,7 +152,7 @@ class TestValidate:
resp = client.post("/api/tasks/validate", json={
"config": {
"tasks": ["ODS_MEMBER", "ODS_PAYMENT"],
"pipeline": "api_ods",
"flow": "api_ods",
}
})
assert resp.status_code == 200
@@ -169,7 +169,7 @@ class TestValidate:
resp = client.post("/api/tasks/validate", json={
"config": {
"tasks": ["DWD_LOAD_FROM_ODS"],
"pipeline": "ods_dwd",
"flow": "ods_dwd",
"store_id": 999,
}
})
@@ -184,7 +184,7 @@ class TestValidate:
resp = client.post("/api/tasks/validate", json={
"config": {
"tasks": ["ODS_MEMBER"],
"pipeline": "nonexistent_flow",
"flow": "nonexistent_flow",
}
})
assert resp.status_code == 200
@@ -196,7 +196,7 @@ class TestValidate:
resp = client.post("/api/tasks/validate", json={
"config": {
"tasks": [],
"pipeline": "api_ods",
"flow": "api_ods",
}
})
assert resp.status_code == 200
@@ -208,7 +208,7 @@ class TestValidate:
resp = client.post("/api/tasks/validate", json={
"config": {
"tasks": ["ODS_MEMBER"],
"pipeline": "api_ods",
"flow": "api_ods",
"window_mode": "custom",
"window_start": "2024-01-01",
"window_end": "2024-01-31",
@@ -225,7 +225,7 @@ class TestValidate:
resp = client.post("/api/tasks/validate", json={
"config": {
"tasks": ["ODS_MEMBER"],
"pipeline": "api_ods",
"flow": "api_ods",
"window_mode": "custom",
"window_start": "2024-12-31",
"window_end": "2024-01-01",
@@ -237,7 +237,7 @@ class TestValidate:
resp = client.post("/api/tasks/validate", json={
"config": {
"tasks": ["ODS_MEMBER"],
"pipeline": "api_ods",
"flow": "api_ods",
"dry_run": True,
}
})