[Bf-blender-cvs] [214e4aac976] master: Fix Python error in ./benchmark init after recent changes

Brecht Van Lommel noreply at git.blender.org
Thu Aug 19 17:46:28 CEST 2021


Commit: 214e4aac976962b7da5ebcbbab119acc60b1a654
Author: Brecht Van Lommel
Date:   Thu Aug 19 17:37:49 2021 +0200
Branches: master
https://developer.blender.org/rB214e4aac976962b7da5ebcbbab119acc60b1a654

Fix Python error in ./benchmark init after recent changes

===================================================================

M	tests/performance/api/environment.py

===================================================================

diff --git a/tests/performance/api/environment.py b/tests/performance/api/environment.py
index 70fc15f251c..76c731b6118 100644
--- a/tests/performance/api/environment.py
+++ b/tests/performance/api/environment.py
@@ -47,7 +47,7 @@ class TestEnvironment:
         print(f'Init {self.base_dir}')
         self.base_dir.mkdir(parents=True, exist_ok=True)
 
-        if len(self.get_configs_names()) == 0:
+        if len(self.get_config_names()) == 0:
             config_dir = self.base_dir / 'default'
             print(f'Creating default configuration in {config_dir}')
             TestConfig.write_default_config(self, config_dir)



More information about the Bf-blender-cvs mailing list