agritheory / approvals

Customizable Approval Workflows
Other
5 stars 1 forks source link

fix: update workflow state for non submittable doctype #62

Open MyuddinKhatri opened 3 months ago

MyuddinKhatri commented 3 months ago

update workflow state for non submittable doctype on document Approval

github-actions[bot] commented 3 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py10100% 
hooks.py120100% 
install.py880%1, 4–5, 8–11, 17
approvals
   __init__.py00100% 
   api.py18511935%39, 54–55, 63, 81–82, 84, 109–122, 124–129, 131–133, 135, 140–149, 154–157, 162–168, 173, 176–177, 180, 185, 189–190, 194–195, 200–204, 206–211, 216–217, 221–230, 235–247, 249, 258–259, 261, 264–265, 267–269, 271, 285, 301, 303–308, 318, 320–322
approvals/doctype
   __init__.py00100% 
approvals/doctype/document_approval
   __init__.py00100% 
   document_approval.py15150%1–3, 6–9, 11–14, 16–17, 26–27
   test_document_approval.py30100% 
approvals/doctype/document_approval_rule
   __init__.py00100% 
   document_approval_rule.py651183%11, 21, 24, 27, 52, 63, 67, 72–73, 83, 111
   test_document_approval_rule.py30100% 
approvals/doctype/document_approval_settings
   __init__.py00100% 
   document_approval_settings.py12283%11–12
   test_document_approval_settings.py30100% 
approvals/doctype/user_document_approval
   __init__.py00100% 
   test_user_document_approval.py30100% 
   user_document_approval.py28280%1–4, 6, 9–12, 14–15, 17–18, 20–30, 32, 39–40, 43
config
   __init__.py00100% 
   desktop.py330%1, 4–5
   docs.py220%10–11
tests
   conftest.py23291%25–26
   test_approval_workflow.py200100% 
   test_non_workflow_approval.py352140%13, 18, 23, 31–32, 35–37, 44, 46–55, 57–58
TOTAL42121149%