From c13efbd003dfb50a406e2e99f1acf7bf627ded5b Mon Sep 17 00:00:00 2001 From: javrin Date: Mon, 15 May 2023 09:59:19 -0400 Subject: [PATCH] Fix Linux unittest Signed-off-by: javrin --- src/rez/tests/test_shells.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rez/tests/test_shells.py b/src/rez/tests/test_shells.py index 2157f5add..f835ca59f 100644 --- a/src/rez/tests/test_shells.py +++ b/src/rez/tests/test_shells.py @@ -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)