From 497d526e9b47afc09388b8b7bcd4fd600c1e6a65 Mon Sep 17 00:00:00 2001 From: javrin Date: Wed, 21 Jun 2023 16:07:06 -0400 Subject: [PATCH] Fix rez suites test Signed-off-by: javrin --- src/rez/tests/test_suites.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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")