This commit is contained in:
ari committed 2022-08-15 19:50:24 -04:00
1 parent 02cbacabe0
commit f8b59c6b17
7 files changed
+71 -56

No files matched your search

@@ -1,4 +1,5 @@
from pathlib import Path
from tempfile import mktemp
from src import yaml_serializer
from src.automations_v2.errors import (
@@ -24,6 +25,7 @@ class manager_tests(TestWithDB):
self.config_path = create_copy_of_example_config(ha_config_example)
self.automation_manager = AutomationManager(
HassConfig(self.config_path),
Path(mktemp()),
self.db_file,
)
return self.config_path, self.automation_manager