def test_bootstrap_options_no_config_only_sentry_options(settings):
 settings.SENTRY_OPTIONS = {'system.secret-key': 'my-system-secret-key', 'mail.backend': 'my-mail-backend', 'mail.host': 'my-mail-host', 'mail.port': 123, 'mail.username': 'my-mail-username', 'mail.password': 'my-mail-password', 'mail.use-tls': True, 'mail.from': 'my-mail-from', 'mail.subject-prefix': 'my-mail-subject-prefix'}
 bootstrap_options(settings)
 assert (settings.SECRET_KEY == 'my-system-secret-key')
 assert (settings.EMAIL_BACKEND == 'my-mail-backend')
 assert (settings.EMAIL_HOST == 'my-mail-host')
 assert (settings.EMAIL_PORT == 123)
 assert (settings.EMAIL_HOST_USER == 'my-mail-username')
 assert (settings.EMAIL_HOST_PASSWORD == 'my-mail-password')
 assert (settings.EMAIL_USE_TLS is True)
 assert (settings.SERVER_EMAIL == 'my-mail-from')
 assert (settings.EMAIL_SUBJECT_PREFIX == 'my-mail-subject-prefix')

def test_bootstrap_options_no_config_only_sentry_options ( settings ) : settings . SENTRY_OPTIONS = { 'system.secret-key' : 'my-system-secret-key' , 'mail.backend' : 'my-mail-backend' , 'mail.host' : 'my-mail-host' , 'mail.port' : 123 , 'mail.username' : 'my-mail-username' , 'mail.password' : 'my-mail-password' , 'mail.use-tls' : True , 'mail.from' : 'my-mail-from' , 'mail.subject-prefix' : 'my-mail-subject-prefix' } bootstrap_options ( settings ) assert ( settings . SECRET_KEY == 'my-system-secret-key' ) assert ( settings . EMAIL_BACKEND == 'my-mail-backend' ) assert ( settings . EMAIL_HOST == 'my-mail-host' ) assert ( settings . EMAIL_PORT == 123 ) assert ( settings . EMAIL_HOST_USER == 'my-mail-username' ) assert ( settings . EMAIL_HOST_PASSWORD == 'my-mail-password' ) assert ( settings . EMAIL_USE_TLS is True ) assert ( settings . SERVER_EMAIL == 'my-mail-from' ) assert ( settings . EMAIL_SUBJECT_PREFIX == 'my-mail-subject-prefix' )
sentry_options is only declared .