Skip to content

Commit 497d526

Browse files
committed
Fix rez suites test
Signed-off-by: javrin <[email protected]>
1 parent 7613cc0 commit 497d526

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/rez/tests/test_suites.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
per_available_shell, install_dependent
1010
from rez.resolved_context import ResolvedContext
1111
from rez.suite import Suite
12-
from rez.config import config
1312
from rez.system import system
1413
import subprocess
1514
import unittest
@@ -165,8 +164,7 @@ def test_executable(self, shell):
165164
expected_tools = set(["hunny"])
166165
self.assertEqual(set(s.get_tools().keys()), expected_tools)
167166

168-
per_shell = config.get("default_shell")
169-
suite_path = os.path.join(self.root, "test_suites", per_shell, "pooh")
167+
suite_path = os.path.join(self.root, "test_suites", shell, "pooh")
170168
s.save(suite_path)
171169

172170
bin_path = os.path.join(suite_path, "bin")

0 commit comments

Comments
 (0)