def set_incorrect_token(step, token):

    #Set and incorrect header to obtain unauthorized error
    world.headers = Utils.create_header(token=token)
def set_incorrect_token(step, token):

    #Set and incorrect header to obtain unauthorized error
    world.headers = Utils.create_header(token=token)
Esempio n. 3
0
def set_incorrect_token(context, token):
    # Set and incorrect header to obtain unauthorized error
    context.headers = Utils.create_header(token=token)
Esempio n. 4
0
def set_incorrect_token(context, token):
    # Set and incorrect header to obtain unauthorized error
    context.headers = Utils.create_header(token=token)