def METHOD_NAME(
    mocker, test_emitter, capsys, alice_test_config, tmpdir
):
    # Setup
    unlock_spy = mocker.spy(Keystore, 'unlock')
    mocker.patch.object(CharacterConfiguration,
                        'dev_mode',
                        return_value=True,
                        new_callable=mocker.PropertyMock)
    keystore = Keystore.generate(password=INSECURE_DEVELOPMENT_PASSWORD, keystore_dir=tmpdir)
    alice_test_config.attach_keystore(keystore)
    result = unlock_nucypher_keystore(
        emitter=test_emitter,
        password=INSECURE_DEVELOPMENT_PASSWORD,
        character_configuration=alice_test_config,
    )
    assert result
    output = capsys.readouterr().out
    message = DECRYPTING_CHARACTER_KEYSTORE.format(
        name=alice_test_config.NAME.capitalize()
    )
    assert message in output
    unlock_spy.assert_not_called()