Skip to content

Commit

Permalink
Fix test_completion by not hardcoding bash path
Browse files Browse the repository at this point in the history
  • Loading branch information
JOJ0 committed Jan 17, 2025
1 parent 594f2b3 commit 9db364f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ def test_completion(self):

# Open a `bash` process to run the tests in. We'll pipe in bash
# commands via stdin.
cmd = os.environ.get("BEETS_TEST_SHELL", "/bin/bash --norc").split()
cmd = os.environ.get("BEETS_TEST_SHELL", "/usr/bin/env bash --norc").split()
if not has_program(cmd[0]):
self.skipTest("bash not available")
tester = subprocess.Popen(
Expand Down

0 comments on commit 9db364f

Please sign in to comment.