def METHOD_NAME(self):
    """Test management command arguments injected from config model."""
    # Nothing in the database, should default to disabled
    with LogCapture(LOGGER_NAME) as log:
        call_command('retry_failed_photo_verifications', '--args-from-database')
        log.check_present(
            (
                LOGGER_NAME, 'ERROR',
                'SSPVerificationRetryConfig is disabled or empty, but --args-from-database was requested.'
            ),
        )
    self.add_test_config_for_retry_verification()
    with patch('lms.djangoapps.verify_student.models.requests.post', new=mock_software_secure_post_error):
        self.create_upload_and_submit_attempt_for_user()
        with LogCapture(LOGGER_NAME) as log:
            with self.immediate_on_commit():
                call_command('retry_failed_photo_verifications')
                log.check_present(
                    (
                        LOGGER_NAME, 'INFO',
                        f'Attempting to re-submit {1} failed SoftwareSecurePhotoVerification submissions; '
                        f'\nwith status: must_retry'
                    ),
                )
    with LogCapture(LOGGER_NAME) as log:
        with self.immediate_on_commit():
            call_command('retry_failed_photo_verifications', '--args-from-database')
            log.check_present(
                (
                    LOGGER_NAME, 'INFO',
                    f'Attempting to re-submit {0} failed SoftwareSecurePhotoVerification submissions; '
                    f'with retry verification ids from config model'
                ),
            )