From 8a16886e1a7b375849705ab9209316470f323993 Mon Sep 17 00:00:00 2001 From: Nig3l Date: Mon, 11 Nov 2024 16:06:07 +0100 Subject: [PATCH] Uncomment old tests --- src/rez/tests/test_plugin_manager.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/rez/tests/test_plugin_manager.py b/src/rez/tests/test_plugin_manager.py index a92def4fe..906d3d3ff 100644 --- a/src/rez/tests/test_plugin_manager.py +++ b/src/rez/tests/test_plugin_manager.py @@ -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")] @@ -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")) @@ -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")] @@ -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")) @@ -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