Tests: Force race mode off in test_generate_yaml (#6349)

This commit is contained in:
CodeGorilla
2026-07-30 15:17:49 +02:00
committed by GitHub
parent 72dbfcc1d3
commit abb6f2647e
+1
View File
@@ -115,6 +115,7 @@ class TestGenerateWeights(TestGenerateMain):
settings = get_settings()
settings.generator.player_files_path = settings.generator.PlayerFilesPath(self.yaml_input_dir)
settings.generator.players = 5 # arbitrary number, should be enough
settings.generator.race = 0 # make sure race mode is disabled so the below seed is actually respected
settings._filename = None
user_path_backup = user_path.cached_path
user_path.cached_path = local_path()