From d6100a843b533cb881292e8dc067110161ba0a87 Mon Sep 17 00:00:00 2001 From: vegu-ai-tools <152010387+vegu-ai-tools@users.noreply.github.com> Date: Wed, 13 May 2026 22:59:29 +0300 Subject: [PATCH] linting --- tests/prompts/test_template_env.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/prompts/test_template_env.py b/tests/prompts/test_template_env.py index ec4f809c..947c257e 100644 --- a/tests/prompts/test_template_env.py +++ b/tests/prompts/test_template_env.py @@ -9,8 +9,6 @@ would not be resolvable from runtime ``{% include %}`` calls when the active agent_type is anything other than ``"scene"``. """ -from pathlib import Path - import pytest from talemate.context import active_scene @@ -56,9 +54,7 @@ class TestSceneTemplateSearchPath: assert str(scene_subdir) in searchpath - def test_scene_subdir_omitted_when_missing( - self, tmp_path, scene_with_template_dir - ): + def test_scene_subdir_omitted_when_missing(self, tmp_path, scene_with_template_dir): """Missing ``scene/`` dir is silently skipped (no stray path entries).""" # tmp_path exists but has no `scene/` subdirectory searchpath = _searchpath_for("narrator") @@ -75,9 +71,7 @@ class TestSceneTemplateSearchPath: assert str(agent_subdir) in searchpath - def test_flat_template_dir_still_included( - self, tmp_path, scene_with_template_dir - ): + def test_flat_template_dir_still_included(self, tmp_path, scene_with_template_dir): """The flat ``template_dir`` root is still appended (backward compat).""" (tmp_path / "scene").mkdir()