Launcher: add Discord links and generate yamls (#1716)

This commit is contained in:
Fabian Dill
2023-04-16 01:57:52 +02:00
committed by GitHub
parent 89ec31708e
commit 599cd2c82e
6 changed files with 83 additions and 47 deletions

View File

@@ -25,7 +25,7 @@ class TestFileGeneration(unittest.TestCase):
for file in os.scandir(target):
if file.is_file() and file.name.endswith(".yaml"):
with self.subTest(file=file.name):
with open(file) as f:
with open(file, encoding="utf-8-sig") as f:
for value in roll_options({file.name: f.read()})[0].values():
self.assertTrue(value is True, f"Default Options for template {file.name} cannot be run.")