From 68af98049e85b98ae1dbbe9f72c951330ad131f5 Mon Sep 17 00:00:00 2001 From: Bernd Worsch Date: Mon, 22 Sep 2025 02:17:04 +0200 Subject: [PATCH] fix: update tests to use renamed tdd- prefixed make targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update test_make_workspace_status_command → test_make_tdd_status_command - Update test_make_add_test_command_without_workspace → test_make_tdd_add_test_command_without_workspace - Change test subprocess calls from 'workspace-status' to 'tdd-status' - Change test subprocess calls from 'add-test' to 'tdd-add-test' All 20 tests now pass successfully with the new target names. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- tests/test_issue_11_workflow_integration.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/test_issue_11_workflow_integration.py b/tests/test_issue_11_workflow_integration.py index a382c076..1116bae4 100644 --- a/tests/test_issue_11_workflow_integration.py +++ b/tests/test_issue_11_workflow_integration.py @@ -29,22 +29,22 @@ class TestWorkflowIntegration: yield config shutil.rmtree(temp_dir) - def test_make_workspace_status_command(self): - """Test that make workspace-status command works correctly.""" - result = subprocess.run(['make', 'workspace-status'], + def test_make_tdd_status_command(self): + """Test that make tdd-status command works correctly.""" + result = subprocess.run(['make', 'tdd-status'], capture_output=True, text=True) - assert result.returncode == 0, "workspace-status command should succeed" + assert result.returncode == 0, "tdd-status command should succeed" # Should show clean workspace when no active workspace assert ("No active issue workspace" in result.stdout or "Workspace directory exists but no current issue file" in result.stdout) - def test_make_add_test_command_without_workspace(self): - """Test that make add-test provides proper error when no workspace.""" - result = subprocess.run(['make', 'add-test'], + def test_make_tdd_add_test_command_without_workspace(self): + """Test that make tdd-add-test provides proper error when no workspace.""" + result = subprocess.run(['make', 'tdd-add-test'], capture_output=True, text=True) - assert result.returncode != 0, "add-test command should fail when no workspace" + assert result.returncode != 0, "tdd-add-test command should fail when no workspace" assert "No active issue workspace" in result.stdout def test_cli_integration_basic(self):