Skip to content

Commit

Permalink
Fix: Build error
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Aug 14, 2023
1 parent a711fe9 commit 27a08b3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2110,6 +2110,8 @@ def test_add_bpy_ops_override_parameters(self):
rst_files = [f"{self.data_dir}/{f}" for f in rst_files]

analyzer = BpyModuleAnalyzer([])
analyzer.set_target("blender")
analyzer.set_target_version("2.80")
result = analyzer.analyze(rst_files)

self.assertEqual(len(result.section_info), 1)
Expand Down Expand Up @@ -2203,6 +2205,8 @@ def test_make_bpy_context_variable(self):
rst_files = [f"{self.data_dir}/{f}" for f in rst_files]

analyzer = BpyModuleAnalyzer([])
analyzer.set_target("blender")
analyzer.set_target_version("2.80")
result = analyzer.analyze(rst_files)

self.assertEqual(len(result.section_info), 3)
Expand Down Expand Up @@ -2263,6 +2267,8 @@ def test_tweak_bpy_types_classes(self):
rst_files = [f"{self.data_dir}/{f}" for f in rst_files]

analyzer = BpyModuleAnalyzer([])
analyzer.set_target("blender")
analyzer.set_target_version("2.80")
result = analyzer.analyze(rst_files)

self.assertEqual(len(result.section_info), 2)
Expand Down

0 comments on commit 27a08b3

Please sign in to comment.