Skip to content

Running tests serially using "name" does not work #37

@isebarn

Description

@isebarn

Running requests serially works fine, but if I add an assertion and run tests serially, the "named responses" do not work

###env
procedures = 'http://localhost:5566/rest/v1/procedures'
###env

get(procedures + '/user_items',  name="items")
get(procedures + '/statuses',  name="statuses")
patch(procedures + "/user_items/" + items.json()[0]["_id"] + "/status",
	headers=headers,
	json=statuses.json()[1]
)
assert {'status_code': 200}

sublime throws an error message items is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions