-
Notifications
You must be signed in to change notification settings - Fork 55
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
Create Experiment validation for mandatory params #745
Conversation
@khansaad - Please update the negative tests for createExperiment json keys with blank/NULL/invalid with the expected error messages and include assertions for the same in the existing functional tests. |
@@ -75,10 +75,14 @@ def test_create_exp_invalid_tests(test_name, expected_status_code, version, expe | |||
data = response.json() | |||
print(data['message']) | |||
|
|||
keys = test_name.split('_', 1) | |||
test_name_variable = keys[1] | |||
INVALID_EXP_NAME_MSG = test_name_variable + NOT_EMPTY_OR_NULL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@khansaad - I think this will match with all invalid tests too for which the expected error message might be different. Can you please share the result log - report.html for this?
Signed-off-by: saakhan <[email protected]>
Signed-off-by: Saad Khan <[email protected]>
61ab2f3
to
f5a6558
Compare
Closing stale PRs |
This PR fixes #559