diff --git a/src/rez/tests/test_suites.py b/src/rez/tests/test_suites.py index ad76f4a99c..022f207e0b 100644 --- a/src/rez/tests/test_suites.py +++ b/src/rez/tests/test_suites.py @@ -9,7 +9,6 @@ per_available_shell, install_dependent from rez.resolved_context import ResolvedContext from rez.suite import Suite -from rez.config import config from rez.system import system import subprocess import unittest @@ -165,8 +164,7 @@ def test_executable(self, shell): expected_tools = set(["hunny"]) self.assertEqual(set(s.get_tools().keys()), expected_tools) - per_shell = config.get("default_shell") - suite_path = os.path.join(self.root, "test_suites", per_shell, "pooh") + suite_path = os.path.join(self.root, "test_suites", shell, "pooh") s.save(suite_path) bin_path = os.path.join(suite_path, "bin")