compliance-trestle
compliance-trestle copied to clipboard
make test fails in trestle development environment when there is a pre-exisiting trestle workspace in /tmp
Describe the bug
During trestle development, if there is a pre-existing workspace in /tmp when make test is run several tests will fail. The quick fix is to remove the trestle workspace from /tmp.
In the longer term, the tests should not rely upon a pristine /tmp folder, e.g. one without an existing trestle workspace.
To Reproduce
Steps to reproduce the behavior:
- create trestle development environment, comprising python venv and download of trestle develop branch.
- use trestle init to create trestle workspace in the /tmp folder
- run make test in the downloaded trestle devlop branch
- See errors
Expected behavior
The errors should not occur, regardless of the presence of a trestle workspace in /tmp
Screenshots / Logs.
N/A
Environment
- OS: RHEL 8
- Python version: 3.10
- Installed packages: trestle develop branch