From 69d9655cc62b201215187477e4737781976e683a Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 15:07:05 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../tests/local/dify_agent/agent_stub/cli/test_drive.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dify-agent/tests/local/dify_agent/agent_stub/cli/test_drive.py b/dify-agent/tests/local/dify_agent/agent_stub/cli/test_drive.py index 23ff4216fb8..61ffcec9e3a 100644 --- a/dify-agent/tests/local/dify_agent/agent_stub/cli/test_drive.py +++ b/dify-agent/tests/local/dify_agent/agent_stub/cli/test_drive.py @@ -132,9 +132,7 @@ def test_pull_drive_from_environment_writes_files_under_drive_base( result = pull_drive_from_environment(targets=["skills/"], local_base=str(tmp_path)) - assert result.model_dump() == { - "items": [{"key": "skills/", "local_path": str(tmp_path / "skills")}] - } + assert result.model_dump() == {"items": [{"key": "skills/", "local_path": str(tmp_path / "skills")}]} assert (tmp_path / "skills" / "example" / "SKILL.md").read_bytes() == b"hello world" assert captured["prefix"] == "skills/" assert captured["include_download_url"] is True @@ -176,9 +174,7 @@ def test_pull_drive_from_environment_auto_extracts_skill_archive( result = pull_drive_from_environment(targets=["skills/foo"], local_base=str(tmp_path)) archive_path = tmp_path / "skills" / "foo" / ".DIFY-SKILL-FULL.zip" - assert result.model_dump() == { - "items": [{"key": "skills/foo", "local_path": str(tmp_path / "skills" / "foo")}] - } + assert result.model_dump() == {"items": [{"key": "skills/foo", "local_path": str(tmp_path / "skills" / "foo")}]} assert not archive_path.exists() assert (tmp_path / "skills" / "foo" / "SKILL.md").read_text(encoding="utf-8") == "# Example\n" assert (tmp_path / "skills" / "foo" / "nested" / "helper.py").read_text(encoding="utf-8") == "print('x')\n"