@pytest.fixture(autouse=True)
def patched_settings():
 settings.ENABLE_EMAIL_SUBSCRIPTIONS = False
 settings.BCRYPT_LOG_ROUNDS = 1

@ pytest . fixture ( autouse = True ) def patched_settings ( ) : settings . ENABLE_EMAIL_SUBSCRIPTIONS = False settings . BCRYPT_LOG_ROUNDS = 1
patch settings for tests .