diff --git a/README.md b/README.md index a756583..10a24c3 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,22 @@ Main interviews of import: * any_filing_interview.yml: allows you to make any type of filing, initial or subsequent * admin_interview.yml: lets you handle admin / user functionality, outside of the context of cases and filings -In progress! +## Config + +Different parts of this package expect the below to be present in Docassemble's +config. + +```yaml +efile proxy: + # The URL where the Efile Proxy Server is running + url: https:... + # The Proxy Server's API Key (should be provided to you by the sever admins) + api key: ... + # If you're given an EFSP global fee waiver ID for your jurisdiction, put it here + global waivers: + illinois: ... + massachusetts: ... +``` ## Authors diff --git a/docassemble/EFSPIntegration/data/questions/minimal_interview.yml b/docassemble/EFSPIntegration/data/questions/minimal_interview.yml index 73797b7..ffec9d3 100644 --- a/docassemble/EFSPIntegration/data/questions/minimal_interview.yml +++ b/docassemble/EFSPIntegration/data/questions/minimal_interview.yml @@ -51,7 +51,7 @@ code: | tyler_login lead_contact = users[0] main_document.completed - tyler_payment_id = get_config('efile proxy', {}).get('global waiver', '') + tyler_payment_id = get_config('efile proxy', {}).get('global waivers', [''])[0] ready_to_efile efile ending_screen diff --git a/docassemble/EFSPIntegration/test/test_conversions.py b/docassemble/EFSPIntegration/test/test_conversions.py index 5c5d052..8ff1bc1 100644 --- a/docassemble/EFSPIntegration/test/test_conversions.py +++ b/docassemble/EFSPIntegration/test/test_conversions.py @@ -1,3 +1,5 @@ +# do not pre-load + import json import unittest from unittest.mock import MagicMock diff --git a/docassemble/EFSPIntegration/test/test_interview_functions.py b/docassemble/EFSPIntegration/test/test_interview_functions.py index 7263dd6..b4ffd00 100644 --- a/docassemble/EFSPIntegration/test/test_interview_functions.py +++ b/docassemble/EFSPIntegration/test/test_interview_functions.py @@ -1,3 +1,5 @@ +# do not pre-load + import unittest from ..interview_logic import ( make_filters, diff --git a/docassemble/EFSPIntegration/test/test_proxy_conn.py b/docassemble/EFSPIntegration/test/test_proxy_conn.py index f8aac1c..51b8a35 100644 --- a/docassemble/EFSPIntegration/test/test_proxy_conn.py +++ b/docassemble/EFSPIntegration/test/test_proxy_conn.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python3 +# do not pre-load """ Env vars needed to run: