Skip to content

Replace hardcoded /tmp paths with tempdir in tests#32

Merged
irskep merged 1 commit intomainfrom
chore/tmpdir
Jul 8, 2025
Merged

Replace hardcoded /tmp paths with tempdir in tests#32
irskep merged 1 commit intomainfrom
chore/tmpdir

Conversation

@irskep
Copy link
Copy Markdown
Owner

@irskep irskep commented Jul 8, 2025

  • Update test_text_formatters.py to use tmp_path fixture
  • Update test_process_manager_unit.py to use tmp_path instead of /tmp
  • Update test_cli.py to use tmp_path for working directory tests
  • Update test_tools_unit.py to use tmp_path fixture throughout
  • Update fakes.py to use tempfile.gettempdir() as fallback

Improves test isolation and cross-platform compatibility.

🤖 Generated with Claude Code

- Update test_text_formatters.py to use tmp_path fixture
- Update test_process_manager_unit.py to use tmp_path instead of /tmp
- Update test_cli.py to use tmp_path for working directory tests
- Update test_tools_unit.py to use tmp_path fixture throughout
- Update fakes.py to use tempfile.gettempdir() as fallback

Improves test isolation and cross-platform compatibility.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@irskep irskep enabled auto-merge (squash) July 8, 2025 01:29
@irskep irskep merged commit bb1a910 into main Jul 8, 2025
9 checks passed
@irskep irskep deleted the chore/tmpdir branch July 8, 2025 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant