Skip to content

Commit

Permalink
Fix Linux unittest
Browse files Browse the repository at this point in the history
Signed-off-by: javrin <jawabiscuit@users.noreply.github.com>
  • Loading branch information
Jawabiscuit committed Sep 15, 2023
1 parent 9fa4af6 commit c13efbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rez/tests/test_shells.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,9 @@ def test_disabled_path_normalization(self, shell):
"""Test disabling path normalization via the config."""
config.override('disable_normalization', True)

sh = create_shell(shell)
test_path = r'C:\foo\bar\spam'
normalized_path = shell.normalize_path(test_path)
normalized_path = sh.normalize_path(test_path)
expected_path = r'C:\foo\bar\spam'

self.assertEqual(normalized_path, expected_path)
Expand Down

0 comments on commit c13efbd

Please sign in to comment.