Skip to content

Conversation

@mwasilew
Copy link
Contributor

@mwasilew mwasilew commented Nov 8, 2021

Key-value dictionary can now be passed as environment to the test
execution routine. This allows to write test scripts which accept
external variables for making pass/fail decisions.

Signed-off-by: Milosz Wasilewski milosz.wasilewski@foundries.io

fiotest/api.py Outdated
v = v.replace('"', "").strip() # remove spaces and quotes
return v + "/tests"
except FileNotFoundError:
sys.exit("Unable to find server url")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you still need a sys.exit("Unable to find server url") at the end of this function

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Key-value dictionary can now be passed as environment to the test
execution routine. This allows to write test scripts which accept
external variables for making pass/fail decisions.

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@foundries.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants