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

ENH - rewrite rally_extract_tests.py #137

Closed
wants to merge 2 commits into from
Closed

Conversation

anish-mudaraddi
Copy link
Contributor

rewrite rally_extract_tests.py incorporating changes from #89
Needs unit-tests and proper testing

@anish-mudaraddi anish-mudaraddi marked this pull request as draft April 22, 2024 13:33
Comment on lines +171 to +173
assert all(
val in config_dict for val in required_values
), "Config file is missing required values."
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to error with which values we are missing here?

response.raise_for_status()


def main(user_args: List):
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add docstrings to the main method?

Would this method return a specific variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no it doesn't return anything - it just writes rally test results to a file

@anish-mudaraddi
Copy link
Contributor Author

I'm still waiting for when Ops is not busy so I can grab some dummy rally output files to use for testing

@anish-mudaraddi
Copy link
Contributor Author

I'm closing this until I write the tests

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.

3 participants