feat(rohs-check): 新增 RoHS 检核执行进度中增加 Excel 下载功能及相关配置
This commit is contained in:
1 parent
ee39270069
commit
599d492895
14 files changed
+845
-272
No files matched your search
@@ -271,8 +271,9 @@ def test_rohs_tool_running_conflict(app, client):
|
||||
headers={'X-Integration-Key': 'secret', 'Content-Type': 'application/json'},
|
||||
json={'task_id': task_id},
|
||||
)
|
||||
assert res.status_code == 409
|
||||
assert res.status_code == 200
|
||||
data = res.get_json()
|
||||
assert data['ok'] is False
|
||||
assert data['error_code'] == 'check_running'
|
||||
|
||||
|
||||
@@ -331,8 +332,9 @@ def test_rohs_tool_running_conflict_is_global(app, client):
|
||||
headers={'X-Integration-Key': 'secret', 'Content-Type': 'application/json'},
|
||||
json={'task_id': second_task_id},
|
||||
)
|
||||
assert res.status_code == 409
|
||||
assert res.status_code == 200
|
||||
data = res.get_json()
|
||||
assert data['ok'] is False
|
||||
assert data['error_code'] == 'check_running'
|
||||
assert data['run']['run_id'] == running_id
|
||||
|
||||
|
||||
Reference in new issue
Block a user