Open degenaro opened 7 months ago
Hey @degenaro, I wasn't able to reproduce the error. Here's what I did:
venv.trestle
as shown in the screenshot), which is located outside the root compliance-trestle
directorytmp
while on the root directorycd tmp
to cd
into the foldertrestle init
to initiate a trestle workspacecd ..
to go back to the root directorymake test
According to the issue description, I'm supposed to get errors, but I only got a warning. Here's a screenshot:
You did this?
use trestle init to create trestle workspace in the /tmp folder
That is, the absolute path to /tmp.
cd /tmp trestle init
Your don't need to create a tmp folder. You need to do a trestle init
in your user's existing root /tmp
folder to cause this problem.
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:
Expected behavior
The errors should not occur, regardless of the presence of a trestle workspace in /tmp
Screenshots / Logs.
N/A
Environment