Skip to content

Fix tests that attempt to access the home directory

Description

As part of running the tests in a sandbox I found there were some that make use of the host system's configuration, since I had $HOME mounted read-only and it attempted to initialise caches etc.

Changes proposed in this merge request:

  • Make use of cli.configure in test_custom_logging rather than making a custom config file.
  • In relative workspaces tests, create the project in a subdirectory of the test temporary directory and move that, rather than moving the temporary directory, so standard config can be used.

CHANGELOG/Release Notes

  • Initial submission

Merge request reports

Loading