Tests should not create files/directories in current working directory
- Dominant language
- Python
- Stars
- 8
- Forks
- 7
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 23
Description
Migrated Jira Issue CDDSO-445
Jira creation date 11/04/2024 14:33
-------
Tests in ``cdds/cdds/tests/test_common/test_paths/test_file_system.py`` fail if there is a file in the current working directory called ``test`` . Should use a temporary directory rather than writing here.
-------
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with cdds/cdds/tests/test_common/test_paths/test_file_system.py and inspect the tests that write to the current working directory. Confirm the failure when a file named test is present, then verify the tests use an isolated temporary location and no longer create files or directories in the repository. Done means the test suite is unaffected by a current-directory file named test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100