From 3f1a83e3c336b961ba9d4d27e33ee93eab0447c9 Mon Sep 17 00:00:00 2001 From: nutti Date: Sun, 13 Aug 2023 18:40:06 +0900 Subject: [PATCH] Fix: Build error --- .../fake_bpy_module_test/analyzer_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/python/fake_bpy_module_test/fake_bpy_module_test/analyzer_test.py b/tests/python/fake_bpy_module_test/fake_bpy_module_test/analyzer_test.py index cdbaee754..7f5a252c7 100644 --- a/tests/python/fake_bpy_module_test/fake_bpy_module_test/analyzer_test.py +++ b/tests/python/fake_bpy_module_test/fake_bpy_module_test/analyzer_test.py @@ -795,7 +795,7 @@ def test_bpy_290_tweak(self): rst_files = [f"{self.data_dir}/{f}" for f in rst_files] analyzer = BaseAnalyzer() - analyzer.set_blender_version("2.90") + analyzer.set_target_version("2.90") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -827,7 +827,7 @@ def test_bge_support(self): rst_files = [f"{self.data_dir}/{f}" for f in rst_files] analyzer = BaseAnalyzer() - analyzer.enable_bge_support() + analyzer.set_target("upbge") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -875,7 +875,7 @@ def test_bge_support_no_module(self): rst_files = [f"{self.data_dir}/{f}" for f in rst_files] analyzer = BaseAnalyzer() - analyzer.enable_bge_support() + analyzer.set_target("upbge") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1)