Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
isebarn opened this issue Sep 9, 2021 · 0 comments
Open

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

isebarn opened this issue Sep 9, 2021 · 0 comments
Labels

Comments

@isebarn
Copy link

isebarn commented Sep 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants