mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-29 08:50:01 +02:00
Minor rewrite / expand tests
This commit is contained in:
parent
9fc7ec4bea
commit
a4fcca23ba
11 changed files with 98 additions and 259 deletions
|
@ -71,6 +71,9 @@ class Command(BaseCommand):
|
|||
parser.add_argument(
|
||||
"--directory", default="migrationdata", help="Desired directory"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--infer_filenames", default=False, help="Determines if we should infer filenames or not. Recommended to be enabled only in a development or testing setting."
|
||||
)
|
||||
parser.add_argument(
|
||||
"--agency_adhoc_filename",
|
||||
default=EnumFilenames.AGENCY_ADHOC.value[1],
|
||||
|
@ -97,6 +100,11 @@ class Command(BaseCommand):
|
|||
default=EnumFilenames.ORGANIZATION_ADHOC.value[1],
|
||||
help="Defines the filename for domain type adhocs",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--authority_adhoc_filename",
|
||||
default=EnumFilenames.AUTHORITY_ADHOC.value[1],
|
||||
help="Defines the filename for domain type adhocs",
|
||||
)
|
||||
|
||||
def print_debug_mode_statements(
|
||||
self, debug_on: bool, debug_max_entries_to_parse: int
|
||||
|
@ -551,6 +559,9 @@ class Command(BaseCommand):
|
|||
system_exit_on_terminate=False,
|
||||
info_to_inspect=f"""
|
||||
!!! ENSURE THAT ALL FILENAMES ARE CORRECT BEFORE PROCEEDING
|
||||
==Master data file==
|
||||
domain_additional_filename: {domain_additional_filename}
|
||||
|
||||
==Federal agency information==
|
||||
agency_adhoc_filename: {agency_adhoc_filename}
|
||||
|
||||
|
@ -563,7 +574,7 @@ class Command(BaseCommand):
|
|||
==Creation date / expiration date information==
|
||||
domain_escrow_filename: {domain_escrow_filename}
|
||||
|
||||
domain_additional_filename: {domain_additional_filename}
|
||||
==Containing directory==
|
||||
directory: {directory}
|
||||
""",
|
||||
prompt_title=title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue