Fix test_ecr_utils_workflow to skip if docker is not enabled.
In test_s3_utils.py:
Remove test_s3utils_creation_cgap_ordinary because there are no more CGAP beanstalks.
Revise test_regression_s3_utils_short_name_c4_706 to use fourfront-mastertest rather than a CGAP env, since the CGAP beanstalk envs have gone away.
In env_utils.py:
Environment names with "_" in them will not get 'fourfront-' added or removed by short_env_name or full_env_name (or full_cgap_env_name or full_fourfront_env_name).
In qa_utils.py:
MockBoto3Session for boto3.session.Session
MockBoto3SecretsManager for boto3.client('secretsmanager')
Opportunistic:
Related to secrets_utils.py:
Add support for SecretsTable.
Add unit tests for existing secrets_utils.assume_identity and for new SecretsTable functionality.
Small cosmetic adjustments to Makefile.
In docker_utils.py
Add docker_is_running predicate (used by the fix to test_ecr_utils_workflow to skip that test if docker is not running.
This fixes...
test_ecr_utils.py
:test_ecr_utils_workflow
to skip if docker is not enabled.test_s3_utils.py
:test_s3utils_creation_cgap_ordinary
because there are no more CGAP beanstalks.test_regression_s3_utils_short_name_c4_706
to usefourfront-mastertest
rather than a CGAP env, since the CGAP beanstalk envs have gone away.env_utils.py
:'fourfront-'
added or removed byshort_env_name
orfull_env_name
(orfull_cgap_env_name
orfull_fourfront_env_name
).qa_utils.py
:MockBoto3Session
forboto3.session.Session
MockBoto3SecretsManager
forboto3.client('secretsmanager')
Opportunistic:
secrets_utils.py
:SecretsTable
.secrets_utils.assume_identity
and for newSecretsTable
functionality.Makefile
.docker_utils.py
docker_is_running
predicate (used by the fix totest_ecr_utils_workflow
to skip that test if docker is not running.