Skip to content

Commit

Permalink
Update src/rez/tests/test_shells.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jean-Christophe Morin <38703886+JeanChristopheMorinPerso@users.noreply.github.com>
Signed-off-by: Bryce Gattis <69012021+brycegbrazen@users.noreply.github.com>
  • Loading branch information
brycegbrazen and JeanChristopheMorinPerso authored Jun 23, 2024
1 parent fcc4b38 commit 3a90505
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rez/tests/test_shells.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,10 +597,10 @@ def test_alias_return_code(self, shell):
config.override("default_shell", shell)

def _make_alias(ex):
ex.alias('python_alias', 'python')
ex.alias('my_alias', 'hello_world -r 1')

r = self._create_context([])
p = r.execute_shell(command='python_alias -c raise',
r = self._create_context(["hello_world"])
p = r.execute_shell(command='my_alias',
actions_callback=_make_alias,
stdout=subprocess.PIPE)

Expand Down

0 comments on commit 3a90505

Please sign in to comment.