mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 19:36:53 +08:00
fix: remove ruff ignore SIM300 (#11810)
This commit is contained in:
@@ -384,7 +384,7 @@ def test_mock_404(setup_http_mock):
|
||||
assert result.outputs is not None
|
||||
resp = result.outputs
|
||||
|
||||
assert 404 == resp.get("status_code")
|
||||
assert resp.get("status_code") == 404
|
||||
assert "Not Found" in resp.get("body", "")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user