import importlib.util,pathlib,unittest
path=pathlib.Path(__file__).resolve().parents[1]/'scripts/publish-jarvis-dev-form.py'
spec=importlib.util.spec_from_file_location('dev_form',path);module=importlib.util.module_from_spec(spec);spec.loader.exec_module(module)
class DevFormPublisherTests(unittest.TestCase):
def test_only_new_form_replaced_and_history_preserved(self):
old="
HISTORY ORIGINALOLD FORM\n