compliance-trestle icon indicating copy to clipboard operation
compliance-trestle copied to clipboard

make test fails in trestle development environment when there is a pre-exisiting trestle workspace in /tmp

Open degenaro opened this issue 1 year ago • 2 comments

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:

  1. create trestle development environment, comprising python venv and download of trestle develop branch.
  2. use trestle init to create trestle workspace in the /tmp folder
  3. run make test in the downloaded trestle devlop branch
  4. 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

degenaro avatar Feb 27 '24 14:02 degenaro