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)
Example #3
0
def set_incorrect_token(context, token):
    # Set and incorrect header to obtain unauthorized error
    context.headers = Utils.create_header(token=token)
Example #4
0
def set_incorrect_token(context, token):
    # Set and incorrect header to obtain unauthorized error
    context.headers = Utils.create_header(token=token)