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 7b1ee47 commit a711fe9
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a711fe9

Please sign in to comment.