Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/acme2certifier/acme_srv/helpers/global_variables.py: 88%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

8 statements  

1# -*- coding: utf-8 -*- 

2"""Global Variables for acme2certifier""" 

3 

4PARSING_ERR_MSG = "failed to parse" 

5USER_AGENT = "acme2certifier" 

6 

7# Returned as enrollment detail when dry-run mode skips certificate issuance. 

8DRYRUN_ENROLLMENT_SKIPPED_DETAIL = ( 

9 "Dry run mode - enrollment and certificate issuance skipped" 

10) 

11 

12# Generic client-visible detail for enrollment failures when CA errors are not forwarded. 

13ENROLLMENT_FAILED_DETAIL = "enrollment failed" 

14 

15# Generic client-visible detail for database failures (ACME problem / API error payloads). 

16DB_ERROR_MSG = "Database error" 

17 

18# Generic client-visible detail for configuration failures (ACME problem / API error payloads). 

19CONFIGURATION_ERROR_DETAIL = "Configuration error"