From e9f821a2bc9ac00138eac19ef7c26e7877d1a416 Mon Sep 17 00:00:00 2001 From: bbean Date: Thu, 8 Aug 2024 14:32:09 -0600 Subject: [PATCH] fix test_opencsp_root_path --- .../common/lib/opencsp_path/test/test_opencsp_root_path.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/opencsp/common/lib/opencsp_path/test/test_opencsp_root_path.py b/opencsp/common/lib/opencsp_path/test/test_opencsp_root_path.py index d796edec4..ceb1e4d41 100644 --- a/opencsp/common/lib/opencsp_path/test/test_opencsp_root_path.py +++ b/opencsp/common/lib/opencsp_path/test/test_opencsp_root_path.py @@ -55,7 +55,7 @@ def test_opencsp_doc_dir(self): def test_opencsp_example_dir(self): """Just test that the opencsp_example_dir() method works. TODO actually test the returned value.""" - self.assertIn("example", orp.opencsp_data_example_dir()) + self.assertIn("example", orp.opencsp_example_dir()) def test_opencsp_scratch_dir(self): """Just test that the opencsp_scratch_dir() method works. TODO actually test the returned value.""" @@ -69,10 +69,6 @@ def test_opencsp_temporary_dir(self): """Just test that the opencsp_temporary_dir() method works. TODO actually test the returned value.""" self.assertTrue(("temp" in orp.opencsp_temporary_dir()) or ("tmp" in orp.opencsp_temporary_dir())) - def test__opencsp_settings_dirs(self): - """Just test that the _opencsp_settings_dirs() method works. TODO actually test the returned value.""" - orp._opencsp_settings_dirs() - @unittest.skip("Can't get this test to work. Maybe someone smarter than me can make it work? :(") @unittest.mock.patch.dict(os.environ, {"OPENCSP_SETTINGS_DIRS": "~/.opencsp/"}) def test_settings_file(self):