Skip to content

conftest.py creates files in CWD during test runs #18

Description

@AshayK003

Problem

The autouse fixture creates audio.mp3 and podcast.mp3 in whatever directory pytest is run from.

Solution

Create dummy files inside tmp_path or tempfile.TemporaryDirectory().

Acceptance Criteria

  • No files created in CWD during test runs
  • Tests still pass

Difficulty: Easy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions