Skip to content

Commit

Permalink
Merge pull request #665 from Morg42/develop
Browse files Browse the repository at this point in the history
tests: update mock core
  • Loading branch information
Morg42 authored Jul 22, 2024
2 parents 1e26156 + 3c19195 commit 7c36a58
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/mock/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,24 @@ def get_structsdir(self):
"""
return self._structs_dir


def get_logicsdir(self) -> str:
"""
Function to return the logics config directory
:return: Config directory as an absolute path
"""
return self._logic_dir


def get_functionsdir(self) -> str:
"""
Function to return the userfunctions config directory
:return: Config directory as an absolute path
"""
return self._functions_dir

def get_vardir(self):
"""
Function to return the var directory used by SmartHomeNG
Expand Down

0 comments on commit 7c36a58

Please sign in to comment.