Fix keyring step to allow no type

This commit is contained in:
karimpwnz 2021-01-02 16:31:13 +02:00
parent b8ca9f175c
commit 5c78b6b20e

View file

@ -164,6 +164,7 @@ def use_password(context, password, num=1):
context.password = iter([password] * num) context.password = iter([password] * num)
@given("we have a keyring")
@given("we have a {type} keyring") @given("we have a {type} keyring")
def set_keyring(context, type=None): def set_keyring(context, type=None):
if type == "locked": if type == "locked":