added requirement tests

This commit is contained in:
PatchOfScotland
2023-02-14 18:58:37 +01:00
parent 4d29ced83d
commit fcd897f2ff
3 changed files with 168 additions and 5 deletions

View File

@ -221,3 +221,5 @@ def valid_non_existing_path(variable:str, allow_base:bool=False):
if dirname(variable) and not exists(dirname(variable)):
raise ValueError(
f"Route to requested path '{variable}' does not exist.")
# TODO add validation for requirement functions