automation: establish an automation framework

This commit is contained in:
Iain Learmonth 2022-05-08 17:20:04 +01:00
parent 1b53bf451c
commit 8abe5d60fa
31 changed files with 586 additions and 274 deletions

View file

@ -1,4 +1,5 @@
import os
from typing import Tuple
from app import app
@ -10,7 +11,7 @@ class BaseAutomation:
the portal system.
"""
def automate(self):
def automate(self, full: bool = False) -> Tuple[bool, str]:
raise NotImplementedError()
def working_directory(self, filename=None) -> str: