Skip to content

Commit

Permalink
Uncomment old tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni-g-3l committed Nov 11, 2024
1 parent b3a7e86 commit 8a16886
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/rez/tests/test_plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def setUp(self):
TestBase.setUp(self)
self._reset_plugin_manager()

def _test_load_plugin_from_plugin_path(self):
def test_load_plugin_from_plugin_path(self):
"""Test loading rez plugin from plugin_path"""
self.update_settings(dict(
plugin_path=[self.data_path("extensions", "foo")]
Expand All @@ -60,7 +60,7 @@ def _test_load_plugin_from_plugin_path(self):
"package_repository", "cloud")
self.assertEqual(cloud_cls.name(), "cloud")

def _test_load_plugin_from_python_module(self):
def test_load_plugin_from_python_module(self):
"""Test loading rez plugin from python modules"""
with restore_sys_path():
sys.path.append(self.data_path("extensions"))
Expand All @@ -76,7 +76,7 @@ def test_load_plugin_from_entry_points(self):
"command", "baz")
self.assertEqual(baz_cls.name(), "baz")

def _test_plugin_override_1(self):
def test_plugin_override_1(self):
"""Test plugin from plugin_path can override the default"""
self.update_settings(dict(
plugin_path=[self.data_path("extensions", "non-mod")]
Expand All @@ -86,7 +86,7 @@ def _test_plugin_override_1(self):
"package_repository", "memory")
self.assertEqual("non-mod", mem_cls.on_test)

def _test_plugin_override_2(self):
def test_plugin_override_2(self):
"""Test plugin from python modules can override the default"""
with restore_sys_path():
sys.path.append(self.data_path("extensions"))
Expand All @@ -95,7 +95,7 @@ def _test_plugin_override_2(self):
"package_repository", "memory")
self.assertEqual("bar", mem_cls.on_test)

def _test_plugin_override_3(self):
def test_plugin_override_3(self):
"""Test plugin from python modules can override plugin_path"""
with restore_sys_path():
# setup new
Expand Down

0 comments on commit 8a16886

Please sign in to comment.