Sceptre/sceptre

test_cmd.py::test_hook_writes_to_stderr fails in a nix environment

Closed this issue · 0 comments

Subject of the issue

The paths to sh and bash are hard-coded into these tests:

  • test_default_shell_is_sh
  • test_shell_parameter_sets_the_shell

Your environment

  • Sceptre, version 4.5.2
  • Python 3.12.5
  • NixOS

Steps to reproduce

poetry run tox in any environment where sh and bash aren't under /bin

Expected behaviour

Tests should pass.

Actual behaviour

The tests listed above fail.