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 e360cc40..2dcb8367 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 @@ -1076,6 +1076,8 @@ def test_remove_constant(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -1102,6 +1104,8 @@ def test_remove_function(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -1143,6 +1147,8 @@ def test_remove_class(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -1190,6 +1196,8 @@ def test_new_constant(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 2) @@ -1236,6 +1244,8 @@ def test_new_function(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 2) @@ -1326,6 +1336,8 @@ def test_new_class(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 2) @@ -1558,6 +1570,8 @@ def test_append_constant(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -1594,6 +1608,8 @@ def test_append_function(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -1661,6 +1677,8 @@ def test_append_class(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -1841,6 +1859,8 @@ def test_update_constant(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -1868,6 +1888,8 @@ def test_update_function(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1) @@ -1920,6 +1942,8 @@ def test_update_class(self): mod_files = [f"{self.data_dir}/{f}" for f in mod_files] analyzer = AnalyzerWithModFile(mod_files) + analyzer.set_target("blender") + analyzer.set_target_version("2.80") result = analyzer.analyze(rst_files) self.assertEqual(len(result.section_info), 1)